function ThemeRegistryLoader::__construct
Constructs a new ThemeRegistryLoader object.
Parameters
\Drupal\Core\Theme\Registry $theme_registry: The theme registry.
File
-
core/
lib/ Drupal/ Core/ Template/ Loader/ ThemeRegistryLoader.php, line 29
Class
- ThemeRegistryLoader
- Loads templates based on information from the Drupal theme registry.
Namespace
Drupal\Core\Template\LoaderCode
public function __construct(Registry $theme_registry) {
$this->themeRegistry = $theme_registry;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.