function ConfigImportSubscriber::getThemeData
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php \Drupal\Core\EventSubscriber\ConfigImportSubscriber::getThemeData()
- 10 core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php \Drupal\Core\EventSubscriber\ConfigImportSubscriber::getThemeData()
- 11.x 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 313
Class
- ConfigImportSubscriber
- Config import subscriber for config import events.
Namespace
Drupal\Core\EventSubscriberCode
protected function getThemeData() {
if (!isset($this->themeData)) {
$this->themeData = $this->themeHandler
->rebuildThemeData();
}
return $this->themeData;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.