function xmlsitemap_taxonomy_entity_info_alter in XML sitemap 7.2
Implements hook_entity_info_alter().
File
- xmlsitemap_taxonomy/
xmlsitemap_taxonomy.module, line 11 - Main file for XML sitemap taxonomy.
Code
function xmlsitemap_taxonomy_entity_info_alter(&$entity_info) {
$entity_info['taxonomy_term']['bundle label'] = t('Vocabulary');
$entity_info['taxonomy_term']['xmlsitemap'] = array(
'process callback' => 'xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links',
);
}