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

© 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::getModuleData/8.1.x