function gmap_menu in GMap Module 5
Same name and namespace in other branches
- 6.2 gmap.module \gmap_menu()
- 6 gmap.module \gmap_menu()
- 7.2 gmap.module \gmap_menu()
- 7 gmap.module \gmap_menu()
Implementation of hook_menu().
File
- ./
gmap.module, line 477 - GMap -- Routines to use the Google Maps API in Drupal.
Code
function gmap_menu($may_cache) {
if ($may_cache) {
$items = array();
$items[] = array(
'path' => 'admin/settings/gmap',
'title' => t('GMap'),
'description' => t('Configure GMap settings'),
'callback' => 'drupal_get_form',
'callback arguments' => 'gmap_admin_settings',
'access' => user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}
}