function footermap_menu in footermap: a footer site map 5.2
Same name and namespace in other branches
- 5 footermap.module \footermap_menu()
- 6 footermap.module \footermap_menu()
- 7 footermap.module \footermap_menu()
Set settings path
Return value
array an array of menu items
File
- ./
footermap.module, line 37 - This module queries the menu for pages and makes a dynamic sitemap at the bottom of the page.
Code
function footermap_menu() {
$items = array();
$items[] = array(
'path' => 'admin/settings/footermap',
'title' => t('Footermap'),
'description' => t('Change recurse limit or specify top menu id'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'footermap_settings',
),
'access' => user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}