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
- interface \Drupal\Core\Theme\ThemeManagerInterface
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. |
Please login to continue.