Closed piotrpog closed 2 weeks ago
You should see the PDF in $event->pdf
. You also have access to the $event->variables
.
If I am misunderstanding, let me know and I will re-open.
@lukeholder what i meant is pdf database model which would conatin things like pdf handle or id.
What happened?
Description
I wanted to replace contents of specific pdf, but could not determine which pdf code would be affected:
Sender property of the event object just returns pdf service class instance instead of pdf object, so i cannot determine pdf id.
Craft CMS version
5.2.0
Craft Commerce version
5.0.10.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-