function xmlsitemap_user_entity_info_alter in XML sitemap 7.2
Implements hook_entity_info_alter().
File
- xmlsitemap_user/
xmlsitemap_user.module, line 11 - Default file for XML sitemap user.
Code
function xmlsitemap_user_entity_info_alter(&$entity_info) {
$entity_info['user']['bundle label'] = t('User');
$entity_info['user']['xmlsitemap'] = array(
'process callback' => 'xmlsitemap_user_xmlsitemap_process_user_links',
);
}