You are here

function gmap_macro_builder_menu in GMap Module 7.2

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

Implements hook_menu().

File

./gmap_macro_builder.module, line 35
GMap Macro Builder

Code

function gmap_macro_builder_menu() {
  $items['map/macro'] = array(
    'type' => MENU_NORMAL_ITEM,
    'title' => 'Build a GMap macro',
    'access arguments' => array(
      'create gmap macro',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'gmap_macro_builder_form',
    ),
  );
  return $items;
}