public function Configuration::addToModules in Configuration Management 7.2
Add a new dependency for this configuration.
12 calls to Configuration::addToModules()
- ContentTypeConfiguration::findRequiredModules in lib/
Drupal/ configuration/ Config/ ContentTypeConfiguration.php - Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
- CtoolsConfiguration::findRequiredModules in lib/
Drupal/ configuration/ Config/ CtoolsConfiguration.php - Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
- EntityApiConfiguration::findRequiredModules in lib/
Drupal/ configuration/ Config/ EntityApiConfiguration.php - Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
- FieldConfiguration::findRequiredModules in lib/
Drupal/ configuration/ Config/ FieldConfiguration.php - Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
- ImageStyleConfiguration::findRequiredModules in lib/
Drupal/ configuration/ Config/ ImageStyleConfiguration.php - Overrides Drupal\configuration\Config\Configuration::findRequiredModules().
File
- lib/
Drupal/ configuration/ Config/ Configuration.php, line 585 - Definition of Drupal\configuration\Config\Configuration.
Class
Namespace
Drupal\configuration\ConfigCode
public function addToModules($module) {
if (!in_array($module, $this->required_modules)) {
$this->required_modules[] = $module;
}
return $this;
}