public function Registry::setThemeManager

public Registry::setThemeManager(ThemeManagerInterface $theme_manager)

Sets the theme manager.

Parameters

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

File

core/lib/Drupal/Core/Theme/Registry.php, line 177

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!Registry.php/function/Registry::setThemeManager/8.1.x