You are here

function xmlsitemap_xmlsitemap_links in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap.module \xmlsitemap_xmlsitemap_links()
  2. 5 xmlsitemap.module \xmlsitemap_xmlsitemap_links()
  3. 7.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_xmlsitemap_links()
  4. 2.x xmlsitemap.module \xmlsitemap_xmlsitemap_links()

Implements hook_xmlsitemap_links().

File

./xmlsitemap.xmlsitemap.inc, line 276
XML sitemap integration functions for xmlsitemap.module.

Code

function xmlsitemap_xmlsitemap_links() {

  // Frontpage link.
  $links[] = array(
    'type' => 'frontpage',
    'id' => 0,
    'loc' => '',
  );
  return $links;
}