You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we are on the admin theme, and we have pattern definitions inside another theme (e.g: your main theme), then the path in hook_theme() definitions are not correct.
This is because LibraryPattern::processCustomThemeHookProperty only takes into account modules.
This breaks for example the preview when we are in the Views admin and other patterns usages when the active theme is not the one that contains the definitions.
I will create a PR shortly.
The text was updated successfully, but these errors were encountered:
vever001
added a commit
to vever001/ui_patterns
that referenced
this issue
Jul 30, 2020
If we are on the admin theme, and we have pattern definitions inside another theme (e.g: your main theme), then the
path
inhook_theme()
definitions are not correct.This is because
LibraryPattern::processCustomThemeHookProperty
only takes into account modules.This breaks for example the preview when we are in the Views admin and other patterns usages when the active theme is not the one that contains the definitions.
I will create a PR shortly.
The text was updated successfully, but these errors were encountered: