Skip to content
Snippets Groups Projects

Issue #3107993: Template is not defined error

1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -119,6 +119,11 @@ class ComponentsLoader extends FilesystemLoader {
}
$theme_info = $this->componentsInfo->getAllThemeInfo();
// Add theme info (theme names) to active themes - issue #3107993.
if (!empty($theme_info)) {
$active_themes = array_unique(array_merge($active_themes, array_keys($theme_info)));
}
// Templates in namespaces should be loaded from paths in this priority:
//
// 1. active theme paths
Loading