function xmlsitemap_engines_menu in XML sitemap 6
Same name and namespace in other branches
- 5.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()
- 5 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()
- 6.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_menu()
- 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;
}