protected function ConfigImportSubscriber::getThemeData

protected ConfigImportSubscriber::getThemeData()

Gets theme data.

Return value

\Drupal\Core\Extension\Extension[]

File

core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 287

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

© 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!EventSubscriber!ConfigImportSubscriber.php/function/ConfigImportSubscriber::getThemeData/8.1.x