protected function ConfigHandler::exportConfigurations in Update helper 2.x
Same name and namespace in other branches
- 8 src/ConfigHandler.php \Drupal\update_helper\ConfigHandler::exportConfigurations()
Export new configurations for modules.
Parameters
array $configuration_list: List of configurations to export.
1 call to ConfigHandler::exportConfigurations()
- ConfigHandler::generatePatchFile in src/
ConfigHandler.php - Generate patch from changed configuration.
File
- src/
ConfigHandler.php, line 165
Class
- ConfigHandler
- Configuration handler.
Namespace
Drupal\update_helperCode
protected function exportConfigurations(array $configuration_list) {
foreach ($configuration_list as $configuration_name) {
$config_name = ConfigName::createByFullName($configuration_name);
$config_data = $this->configDiffer
->stripIgnore($this->configReverter
->getFromActive($config_name
->getType(), $config_name
->getName()));
$this->configExporter
->exportConfiguration($config_name, $config_data);
}
}