You are here

public function ThemeRegistryLoader::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php \Drupal\Core\Template\Loader\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 32
Contains \Drupal\Core\Template\Loader\ThemeRegistryLoader.

Class

ThemeRegistryLoader
Loads templates based on information from the Drupal theme registry.

Namespace

Drupal\Core\Template\Loader

Code

public function __construct(Registry $theme_registry) {
  $this->themeRegistry = $theme_registry;
}