You are here

protected function Configuration::discoverModules in Configuration Management 7.2

Internal function to discover what modules are required for the current being proccessed configurations.

See also

iterate()

File

lib/Drupal/configuration/Config/Configuration.php, line 283
Definition of Drupal\configuration\Config\Configuration.

Class

Configuration

Namespace

Drupal\configuration\Config

Code

protected function discoverModules(ConfigIteratorSettings &$settings) {
  $modules = $settings
    ->getInfo('modules');
  $modules = array_merge($modules, $this
    ->getRequiredModules());
  $settings
    ->setInfo('modules', $modules);
}