v1/web/modules/contrib/xmlsitemap/xmlsitemap_custom/xmlsitemap_custom.module

18 lines
259 B
PHP

<?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'),
],
];
}