You are here

function xmlsitemap_user_xmlsitemap_description in XML sitemap 6

Same name and namespace in other branches
  1. 5.2 xmlsitemap_user/xmlsitemap_user.module \xmlsitemap_user_xmlsitemap_description()

Implementation of hook_xmlsitemap_description().

File

xmlsitemap_user/xmlsitemap_user.module, line 188
Adds user profiles to the sitemap.

Code

function xmlsitemap_user_xmlsitemap_description() {
  return '<dt>' . t('XML sitemap user') . '</dt>' . '<dd>' . t('The module adds user profiles to the sitemap. The <em>anonymous user</em> role must have permission to access user profiles on the <a href="@access">access control page</a>. You can change the default user priority on the <a href="@user_settings">user settings</a> page. The <a href="@user">user role priority</a> will override the default user priority. You can override both the default priority and the role priority if you add or edit a user.', array(
    '@access' => url('admin/user/access'),
    '@user_settings' => url('admin/user/settings'),
    '@user_role' => url('admin/user/roles'),
  )) . '</dd>';
}