function dependencies_configuration_export_options in Configuration Management 7
Implements hook_configuration_export_options().
File
- includes/
configuration.features.inc, line 19
Code
function dependencies_configuration_export_options() {
// Excluded modules.
$excluded = drupal_required_modules();
$options = array();
foreach (configuration_get_modules() as $module_name => $info) {
if (!in_array($module_name, $excluded) && $info->status && !empty($info->info)) {
$options[$module_name] = $info->info['name'];
}
}
return $options;
}