ConfigImportSubscriber::getModuleData

protected ConfigImportSubscriber::getModuleData()

Gets module data.

Return value

\Drupal\Core\Extension\Extension[]

File

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

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;
}
doc_Drupal
2016-10-29 08:53:48
Comments
Leave a Comment

Please login to continue.