ThemeManagerInterface

Provides a high level access to the active theme and methods to use it.

Beside the active theme it provides a wrapper around _theme as well as the alter functionality for themes.

Hierarchy

File

core/lib/Drupal/Core/Theme/ThemeManagerInterface.php, line 11

Namespace

Drupal\Core\Theme

Members

Name Modifiers Type Description
ThemeManagerInterface::alter public function Passes alterable variables to specific $theme_TYPE_alter() implementations.
ThemeManagerInterface::alterForTheme public function Provides an alter hook for a specific theme.
ThemeManagerInterface::getActiveTheme public function Returns the active theme object.
ThemeManagerInterface::hasActiveTheme public function Determines whether there is an active theme.
ThemeManagerInterface::render public function Generates themed output.
ThemeManagerInterface::resetActiveTheme public function Resets the current active theme.
ThemeManagerInterface::setActiveTheme public function Sets the current active theme manually.
doc_Drupal
2016-10-29 09:48:16
Comments
Leave a Comment

Please login to continue.