ThemeRegistryLoader
class ThemeRegistryLoader extends FilesystemLoader (View source)
Loads templates based on information from the Drupal theme registry.
Allows for template inheritance based on the currently active template.
Properties
| protected Registry | $themeRegistry | The theme registry used to determine which template to use. |
Methods
string|false
findTemplate(string $name, bool $throw = TRUE)
Finds the path to the requested template.
getCacheKey($name)
{@inheritdoc}
Details
__construct(Registry $theme_registry)
Constructs a new ThemeRegistryLoader object.
protected string|false
findTemplate(string $name, bool $throw = TRUE)
Finds the path to the requested template.
getCacheKey($name)
{@inheritdoc}