function dependencies_configuration_export in Configuration Management 7
Implements hook_configuration_export().
File
- includes/
configuration.features.inc, line 34
Code
function dependencies_configuration_export($data, &$export, $module_name = '') {
// Don't allow a module to depend upon itself.
if (!empty($data[$module_name])) {
unset($data[$module_name]);
}
// Clean up existing dependencies and merge.
$export['dependencies'] = _configuration_export_minimize_dependencies($export['dependencies'], $module_name);
$export['dependencies'] = array_merge($data, $export['dependencies']);
$export['dependencies'] = array_unique($export['dependencies']);
}