function xmlsitemap_taxonomy_features_pipe_taxonomy_alter in XML sitemap 7.2
Implements hook_features_pipe_COMPONENT_alter().
Add variables to exported taxonomy vocabularies.
File
- xmlsitemap_taxonomy/
xmlsitemap_taxonomy.module, line 290 - Main file for XML sitemap taxonomy.
Code
function xmlsitemap_taxonomy_features_pipe_taxonomy_alter(&$pipe, $data, $export) {
if (!empty($data)) {
foreach ($data as $vocabulary_name) {
$pipe['variable'][] = "xmlsitemap_settings_taxonomy_term_{$vocabulary_name}";
}
}
}