public function ThemeHandlerInterface::addTheme in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::addTheme()
Adds a theme extension to the internal listing.
Parameters
\Drupal\Core\Extension\Extension $theme: The theme extension.
1 method overrides ThemeHandlerInterface::addTheme()
- ThemeHandler::addTheme in core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php - Adds a theme extension to the internal listing.
File
- core/
lib/ Drupal/ Core/ Extension/ ThemeHandlerInterface.php, line 107 - Contains \Drupal\Core\Extension\ThemeHandlerInterface.
Class
- ThemeHandlerInterface
- Manages the list of available themes.
Namespace
Drupal\Core\ExtensionCode
public function addTheme(Extension $theme);