You are here

protected function ConfigImportSubscriber::getModuleData 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::getModuleData()

Gets module data.

Return value

\Drupal\Core\Extension\Extension[]

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

File

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

Class

ConfigImportSubscriber
Config import subscriber for config import events.

Namespace

Drupal\Core\EventSubscriber

Code

protected function getModuleData() {
  if (!isset($this->moduleData)) {
    $this->moduleData = system_rebuild_module_data();
  }
  return $this->moduleData;
}