You are here

function xmlsitemap_engines_menu in XML sitemap 6

Same name and namespace in other branches
  1. 5.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()
  2. 5 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()
  3. 6.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()
  4. 7.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()

Implementation of hook_menu().

File

xmlsitemap_engines/xmlsitemap_engines.module, line 40
Define actions for Google, Yahoo!, Ask, and Bing.

Code

function xmlsitemap_engines_menu() {
  $items['admin/settings/xmlsitemap/engines'] = array(
    'title' => 'Search engines',
    'description' => 'Configure the submission settings of the XML sitemap to the search engines.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'xmlsitemap_engines_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'xmlsitemap_engines.admin.inc',
  );
  return $items;
}