public function ThemeHandlerInterface::addTheme
public ThemeHandlerInterface::addTheme(Extension $theme)
Adds a theme extension to the internal listing.
Parameters
\Drupal\Core\Extension\Extension $theme: The theme extension.
File
- core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 102
Class
- ThemeHandlerInterface
- Manages the list of available themes.
Namespace
Drupal\Core\ExtensionCode
public function addTheme(Extension $theme);
© 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!Extension!ThemeHandlerInterface.php/function/ThemeHandlerInterface::addTheme/8.1.x