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.

CommentFileSizeAuthor
theme-registry-variant-layouts.patch760 bytesdanielbeeke
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danielbeeke created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, theme-registry-variant-layouts.patch, failed testing.

aspilicious’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.