ThemeManager

Provides the default implementation of a theme manager.

Hierarchy

File

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

Namespace

Drupal\Core\Theme

Members

Name Modifiers Type Description
ThemeManager::$activeTheme protected property Contains the current active theme.
ThemeManager::$moduleHandler protected property The module handler.
ThemeManager::$root protected property The app root.
ThemeManager::$themeInitialization protected property The theme initialization.
ThemeManager::$themeNegotiator protected property The theme negotiator.
ThemeManager::$themeRegistry protected property The theme registry used to render an output.
ThemeManager::alter public function Passes alterable variables to specific $theme_TYPE_alter() implementations. Overrides ThemeManagerInterface::alter
ThemeManager::alterForTheme public function @todo Should we cache some of these information? Overrides ThemeManagerInterface::alterForTheme
ThemeManager::getActiveTheme public function Returns the active theme object. Overrides ThemeManagerInterface::getActiveTheme
ThemeManager::hasActiveTheme public function Determines whether there is an active theme. Overrides ThemeManagerInterface::hasActiveTheme
ThemeManager::initTheme protected function Initializes the active theme for a given route match.
ThemeManager::render public function Generates themed output. Overrides ThemeManagerInterface::render
ThemeManager::resetActiveTheme public function Resets the current active theme. Overrides ThemeManagerInterface::resetActiveTheme
ThemeManager::setActiveTheme public function Sets the current active theme manually. Overrides ThemeManagerInterface::setActiveTheme
ThemeManager::setThemeRegistry public function Sets the theme registry.
ThemeManager::__construct public function Constructs a new ThemeManager object.
doc_Drupal
2016-10-29 09:48:12
Comments
Leave a Comment

Please login to continue.