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

Breadcrumb

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

function ThemeManager::setThemeRegistry

Sets the theme registry.

Parameters

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

Return value

$this

File

core/lib/Drupal/Core/Theme/ThemeManager.php, line 85

Class

ThemeManager
Provides the default implementation of a theme manager.

Namespace

Drupal\Core\Theme

Code

public function setThemeRegistry(Registry $theme_registry) {
    $this->themeRegistry = $theme_registry;
    return $this;
}
RSS feed
Powered by Drupal