You are here

public function ThemeManager::setThemeRegistry in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\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 92
Contains \Drupal\Core\Theme\ThemeManager.

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;
}