function site_map_menu in Site map 7
Same name and namespace in other branches
- 5 site_map.module \site_map_menu()
- 6.2 site_map.module \site_map_menu()
- 6 site_map.module \site_map_menu()
Implements hook_menu().
File
- ./
site_map.module, line 112 - site_map.module
Code
function site_map_menu() {
$items['admin/config/search/sitemap'] = array(
'title' => 'Site map',
'description' => 'Control what should be displayed on the site map.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'site_map_admin_settings_form',
),
'access arguments' => array(
'administer site map',
),
'file' => 'includes/site_map.admin.inc',
);
$items[variable_get('site_map_path', 'sitemap')] = array(
'title callback' => '_site_map_title',
'description' => 'Display a site map with RSS feeds.',
'page callback' => 'site_map_page',
'access arguments' => array(
'access site map',
),
'type' => MENU_SUGGESTED_ITEM,
);
return $items;
}