You are here

function xmlsitemap_custom_xmlsitemap_link_info in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 xmlsitemap_custom/xmlsitemap_custom.module \xmlsitemap_custom_xmlsitemap_link_info()
  2. 6.2 xmlsitemap_custom/xmlsitemap_custom.module \xmlsitemap_custom_xmlsitemap_link_info()
  3. 7.2 xmlsitemap_custom/xmlsitemap_custom.module \xmlsitemap_custom_xmlsitemap_link_info()

Implements hook_xmlsitemap_link_info().

File

xmlsitemap_custom/xmlsitemap_custom.module, line 11
Adds user configurable links to the XML sitemap.

Code

function xmlsitemap_custom_xmlsitemap_link_info() {
  return [
    'custom' => [
      'label' => t('Custom links'),
    ],
  ];
}