Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This RC fixes nothing, but added the form alter from the now defunct tfd7extras module so sitebuilders can manipulate the cache target from /admin/config/media/file-system if needed.
If all goes well this will be the only and final RC for the 3.x branche before moving the module into stable state of slumbering.
Moved the cache directory locator to a new twigcache:// streamwrapper in the module.
This way developers can simply override one streamwrapper using a stream_wrapper_alter hook into something that fits their project more.
Issue #2893576 by pacproduct: Current theme not taken into account when using viewblock()
Issue #2904991 by cyb.tachyon: Add support for theme namespaces
Merged the pull request by @davy from https://www.drupal.org/node/2760335#comment-11471387
Added fallback for local installed composer autoloader if the project is not under the control of composer-manager.
Added a @version in the twig.engine file as requested in #2760697
Do not do this on a production environment prior to testing in your development first! It is NOT a drop-in upgrade!
This branch is the start of the composer installable version as discussed in #2760335
In order to use this branch, physically remove the 7.2.x version of twig first. Then install this version in sites/themes/engines or use drush dl with the correct version.
After installing run composer install from the sites/themes/engines/tfd7 directory and rebuild the theme registry if needed.
Fixed issue #2706475 Fatal errors when twig embedding is used.
Allowed customization of the twig environment after initialisation. (github #36)
Removed the fallback autoloader in favor for xautoload module.
Added twig.api.php with documentation for all the hooks tfd7 implements.
This release contains mostly fixes and addons from @fago & @sebcorbin, thank you :-)