ThemeInitialization::getExtensions

protected ThemeInitialization::getExtensions()

Gets all extensions.

Return value

array

File

core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 263

Class

ThemeInitialization
Provides the theme initialization logic.

Namespace

Drupal\Core\Theme

Code

protected function getExtensions() {
  if (!isset($this->extensions)) {
    $this->extensions = array_merge($this->moduleHandler->getModuleList(), $this->themeHandler->listInfo());
  }
  return $this->extensions;
}
doc_Drupal
2016-10-29 09:48:06
Comments
Leave a Comment

Please login to continue.