protected function ThemeInitialization::getExtensions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Theme/ThemeInitialization.php \Drupal\Core\Theme\ThemeInitialization::getExtensions()
Gets all extensions.
Return value
array
1 call to ThemeInitialization::getExtensions()
- ThemeInitialization::resolveStyleSheetPlaceholders in core/
lib/ Drupal/ Core/ Theme/ ThemeInitialization.php - Gets CSS file where tokens have been resolved.
File
- core/
lib/ Drupal/ Core/ Theme/ ThemeInitialization.php, line 268 - Contains \Drupal\Core\Theme\ThemeInitialization.
Class
- ThemeInitialization
- Provides the theme initialization logic.
Namespace
Drupal\Core\ThemeCode
protected function getExtensions() {
if (!isset($this->extensions)) {
$this->extensions = array_merge($this->moduleHandler
->getModuleList(), $this->themeHandler
->listInfo());
}
return $this->extensions;
}