xmlsitemap_custom.module in XML sitemap 8
Same filename and directory in other branches
Adds user configurable links to the XML sitemap.
File
xmlsitemap_custom/xmlsitemap_custom.moduleView source
<?php
/**
* @file
* Adds user configurable links to the XML sitemap.
*/
/**
* Implements hook_xmlsitemap_link_info().
*/
function xmlsitemap_custom_xmlsitemap_link_info() {
return [
'custom' => [
'label' => t('Custom links'),
],
];
}
Functions
Name | Description |
---|---|
xmlsitemap_custom_xmlsitemap_link_info | Implements hook_xmlsitemap_link_info(). |