function xmlsitemap_node_entity_info_alter in XML sitemap 7.2
Implements hook_entity_info_alter().
File
- xmlsitemap_node/
xmlsitemap_node.module, line 11 - Default file for XML sitemap node.
Code
function xmlsitemap_node_entity_info_alter(array &$entity_info) {
$entity_info['node']['label'] = t('Content');
$entity_info['node']['bundle label'] = t('Content type');
$entity_info['node']['xmlsitemap'] = array(
'process callback' => 'xmlsitemap_node_xmlsitemap_process_node_links',
);
}