function taxonomy_xml_source_features_export_options in Taxonomy import/export via XML 6.2
Same name and namespace in other branches
- 7 taxonomy_xml.features.inc \taxonomy_xml_source_features_export_options()
Implementation of hook_features_export_options().
List all config settings currently available for export. This adds each of the configurations to the features UI where they can be chosen for bundling.
Return value
array A keyed array of items, suitable for use with a FormAPI select or checkboxes element.
File
- ./
taxonomy_xml.features.inc, line 24 - additional routines to add 'Features' exportable support to this module.
Code
function taxonomy_xml_source_features_export_options() {
$taxonomy_xml_services = taxonomy_xml_lookup_services();
$taxonomy_xml_services += variable_get('taxonomy_xml_imports', array());
$options = array();
foreach ($taxonomy_xml_services as $service_id => $service) {
$options[$service_id] = $service['name'];
}
return $options;
}