Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ThemeRegistryLoader.php

function ThemeRegistryLoader::__construct

Constructs a new ThemeRegistryLoader object.

Parameters

\Drupal\Core\Theme\Registry $theme_registry: The theme registry.

Overrides FilesystemLoader::__construct

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\Loader

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal