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.
Problem/Motivation
It's pointless to get the directory of the current template for every template.
Proposed resolution
Move it to _template_preprocess_default_variables()
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2554013-1.patch | 1021 bytes | dawehner |
Comments
Comment #2
dawehnerSmall thing.
Comment #3
Wim LeersHah! Excellent find!
One too many
\n
s, can be fixed on commit.Comment #4
star-szr+1, thanks!
Comment #5
alexpottCommitted 8ce356a and pushed to 8.0.x. Thanks!