You are here

function taxonomy_xml_source_features_export_options in Taxonomy import/export via XML 7

Same name and namespace in other branches
  1. 6.2 taxonomy_xml.features.inc \taxonomy_xml_source_features_export_options()

Implements 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 26

Code

function taxonomy_xml_source_features_export_options() {
  $taxonomy_xml_services = taxonomy_xml_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;
}