Install
Works with Drupal: ^10.6 || ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
20.95 KB
MD5: 8fd373aa32369b94162edf8aa3bb31ab
SHA-1: 05ff357ffdb8b5d044212f459480bfad98c5c8ff
SHA-256: f315be4d68f26b2b9947d3ca31ca8970d5ae5e97be7c7453f173e0b1308b8cf7
Download zip
30.66 KB
MD5: 712fd5e502c907711a3a12f03c41de99
SHA-1: 75099fa2ee887f3aedac467394be30c2165d79e5
SHA-256: c7a77329fa190b011758939a0bd61c7c6c7f3ee8d936d7f35065f6f098b7fd68
Release notes
Fixes where TCPDF stores its temporary files and accepts any PHP callable as header and footer callback.
Upgrade notes
- 2.1.x replaces 2.0.x. The 2.0.x branch receives no further releases.
Requirements
Unchanged: Drupal core ^10.6 || ^11.3 || ^12, tecnickcom/tcpdf ^6.11.4.
Contributors (3)
Changelog
Issues: 2 issues resolved.
Changes since 2.0.5:
Bug
- #3093313 Create the cache directory
temporary://tcpdf/cachebefore use and endK_PATH_CACHEwith a slash. Before, TCPDF wrote temporary image files into the current working directory (usually the Drupal root) until the status report had been visited once, and next to the cache directory afterwards.
Feature
- #2931899 Accept any PHP callable as
callbackof theheaderandfooteroptions ofDrupalInitialize(), such as[$object, 'method']or a closure. The array form['function' => ..., 'context' => ...]keeps working and accepts any callable asfunction.
Misc
- Update the README for 2.1.x.