Potentially useful for anyone needing to alter TCPDF settings during creation.
Invoked prior to AddPage() to give greater flexibility, but might benefit from further modification to allow more post-processing.
Similar to #1820736: allow drupal_alter() of mpdf before write
| Comment | File | Size | Author |
|---|---|---|---|
| print-tcpdf-drupalalter.patch | 734 bytes | paulgrand |
Comments
Comment #1
jcnventuraThanks for the patch. I've committed it to git. Note that I changed the name of the called alter hook to "print_pdf_tcpdf" to properly respect the Drupal contrib namespace.
Comment #2
jcnventuraThanks for the patch. I've committed it to git. Note that I changed the name of the called alter hook to "print_pdf_tcpdf" to properly respect the Drupal contrib namespace.
Comment #3.0
(not verified) commentedadded related mpdf issue