function taxonomy_xml_source_features_export 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()
Implementation of hook_features_export().
Process the export array for a given component.
File
- ./
taxonomy_xml.features.inc, line 41 - additional routines to add 'Features' exportable support to this module.
Code
function taxonomy_xml_source_features_export($data, &$export, $module_name = '') {
$taxonomy_xml_services = taxonomy_xml_lookup_services();
$taxonomy_xml_services += variable_get('taxonomy_xml_imports', array());
foreach ($data as $identifier) {
if ($taxonomy_xml_services[$identifier]) {
$export['features']['taxonomy_xml_source'][$identifier] = $identifier;
}
}
}