You are here

function gmap_macro_builder_menu in GMap Module 5

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

Implementation of hook_menu().

File

./gmap_macro_builder.module, line 30
GMap Macro Builder

Code

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