You are here

protected function ThemeInitialization::getExtensions in Drupal 8

Same name and namespace in other branches
  1. 9 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 279

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;
}