You are here

function gmap_menu in GMap Module 7.2

Same name and namespace in other branches
  1. 5 gmap.module \gmap_menu()
  2. 6.2 gmap.module \gmap_menu()
  3. 6 gmap.module \gmap_menu()
  4. 7 gmap.module \gmap_menu()

Implements hook_menu().

@todo move this to GmapMenu class ?

File

./gmap.module, line 475
GMap -- Routines to use the Google Maps API in Drupal.

Code

function gmap_menu() {
  $items['admin/config/services/gmap'] = array(
    'title' => 'GMap',
    'description' => 'Configure GMap settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'gmap_admin_settings',
    ),
    'file' => 'gmap_settings_ui.inc',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}