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 patch looks for dashes when a template naming suggestion contains an underscore for consistency.
For example, it's not uncommon to have a name that mixes underscores with dashes in this pattern: "page-name_of_internal_link".
The template name would have to match exactly and can be utterly confusing: "page-name_of_internal_link.tpl.php".
With this patch both "page-name_of_internal_link.tpl.php" and "page-name-of-internal-link.tpl.php" will be checked with the latter taking precedence.
Comment | File | Size | Author |
---|---|---|---|
#1 | hexagon-946316.patch | 1.57 KB | dvessel |
Comments
Comment #1
dvessel CreditAttribution: dvessel commentedpatch