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.
There seems to be a small bug inside _ds_theme_registry_alter. If you create a tpl for a layout with variant, like: ds-2col--user-teaser.html.twig the preprocess function does not get added to the registry.
I am not sure if this is the right way, I can imagine it will be slow.
Comment | File | Size | Author |
---|---|---|---|
theme-registry-variant-layouts.patch | 760 bytes | danielbeeke |
Comments
Comment #3
aspilicious CreditAttribution: aspilicious commented