You are here

protected function ConfigImportSubscriber::getThemeData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php \Drupal\Core\EventSubscriber\ConfigImportSubscriber::getThemeData()

Gets theme data.

Return value

\Drupal\Core\Extension\Extension[]

2 calls to ConfigImportSubscriber::getThemeData()
ConfigImportSubscriber::validateDependencies in core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
Validates configuration being imported does not have unmet dependencies.
ConfigImportSubscriber::validateThemes in core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
Validates theme installations and uninstallations.

File

core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 292
Contains \Drupal\Core\EventSubscriber\ConfigImportSubscriber.

Class

ConfigImportSubscriber
Config import subscriber for config import events.

Namespace

Drupal\Core\EventSubscriber

Code

protected function getThemeData() {
  if (!isset($this->themeData)) {
    $this->themeData = $this->themeHandler
      ->rebuildThemeData();
  }
  return $this->themeData;
}