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.
Move classes out of the preprocess functions and into the Twig templates.
Twig Templates Modified
region.html.twig
Preprocess Functions Modified
template_preprocess_region
Comment | File | Size | Author |
---|---|---|---|
#1 | consensus_banana_phase-2326423-1.patch | 1.7 KB | wheatpenny |
Comments
Comment #1
wheatpenny CreditAttribution: wheatpenny commentedComment #2
wheatpenny CreditAttribution: wheatpenny commentedEditing title based on feedback from #2322287: Move datetime classes from preprocess to template.
Comment #3
star-szrLooks good!
Comment #4
mortendk CreditAttribution: mortendk commented+1
Comment #5
star-szrJust manually tested this one as well to confirm, absolutely no markup changes.
Comment #6
alexpottCommitted d81f06f and pushed to 8.0.x. Thanks!
Comment #7
alexpottCommitted d81f06f and pushed to 8.0.x. Thanks!