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.
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. |
© 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!ThemeManagerInterface.php/interface/ThemeManagerInterface/8.1.x