You are here

public function Registry::setThemeManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::setThemeManager()

Sets the theme manager.

Parameters

\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager.

File

core/lib/Drupal/Core/Theme/Registry.php, line 174
Contains \Drupal\Core\Theme\Registry.

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

public function setThemeManager(ThemeManagerInterface $theme_manager) {
  $this->themeManager = $theme_manager;
}