You are here

public function CtoolsConfiguration::findRequiredModules in Configuration Management 7.2

Overrides Drupal\configuration\Config\Configuration::findRequiredModules().

Overrides Configuration::findRequiredModules

1 call to CtoolsConfiguration::findRequiredModules()
StrongarmConfiguration::findRequiredModules in lib/Drupal/configuration/Config/StrongarmConfiguration.php
Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
2 methods override CtoolsConfiguration::findRequiredModules()
StrongarmConfiguration::findRequiredModules in lib/Drupal/configuration/Config/StrongarmConfiguration.php
Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
ViewConfiguration::findRequiredModules in lib/Drupal/configuration/Config/ViewConfiguration.php
Overrides Drupal\configuration\Config\Configuration::findRequiredModules().

File

lib/Drupal/configuration/Config/CtoolsConfiguration.php, line 112
Definition of Drupal\configuration\Config\CtoolsConfiguration.

Class

CtoolsConfiguration

Namespace

Drupal\configuration\Config

Code

public function findRequiredModules() {
  $this
    ->addToModules('ctools');
  foreach (ctools_export_get_schemas_by_module() as $module => $schemas) {
    foreach ($schemas as $table => $schema) {
      if ($table == $this
        ->getComponent()) {
        $this
          ->addToModules($module);
      }
    }
  }
}