public function ConfigurationExportManager::alterConfiguration in Configuration Management 7.3
1 call to ConfigurationExportManager::alterConfiguration()
File
- src/
Helpers/ ConfigurationExportManager.php, line 140 - ConfigurationExportManager.php handles the export of configurations.
Class
Namespace
Configuration\HelpersCode
public function alterConfiguration(Configuration $configuration) {
$alter = $this->configuration_manager
->settings()
->get('alter');
if (!empty($alter) && !empty($alter[$configuration
->getIdentifier()])) {
foreach ($alter[$configuration
->getIdentifier()] as $processor_name => $properties) {
$processor = $this->configuration_manager
->getProccesor($processor_name);
$processor
->apply($configuration, $properties);
}
}
}