You are here

function xmlsitemap_custom_xmlsitemap_link_info in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 xmlsitemap_custom/xmlsitemap_custom.module \xmlsitemap_custom_xmlsitemap_link_info()
  2. 7.2 xmlsitemap_custom/xmlsitemap_custom.module \xmlsitemap_custom_xmlsitemap_link_info()
  3. 2.x 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'),
    ],
  ];
}