function xmlsitemap_xmlsitemap_links in XML sitemap 2.x
Same name and namespace in other branches
- 8 xmlsitemap.module \xmlsitemap_xmlsitemap_links()
- 5 xmlsitemap.module \xmlsitemap_xmlsitemap_links()
- 6.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_xmlsitemap_links()
- 7.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_xmlsitemap_links()
Implements hook_xmlsitemap_links().
File
- ./
xmlsitemap.module, line 1940 - xmlsitemap XML sitemap
Code
function xmlsitemap_xmlsitemap_links() {
// Frontpage link.
$links[] = [
'type' => 'frontpage',
'id' => 0,
'loc' => '/',
];
return $links;
}