You are here

function location_search_menu in Location 7.3

Same name and namespace in other branches
  1. 5.3 contrib/location_search/location_search.module \location_search_menu()
  2. 6.3 contrib/location_search/location_search.module \location_search_menu()
  3. 7.5 contrib/location_search/location_search.module \location_search_menu()
  4. 7.4 contrib/location_search/location_search.module \location_search_menu()

Implements hook_menu().

File

contrib/location_search/location_search.module, line 11
Location search interface.

Code

function location_search_menu() {
  $items['admin/config/content/location/search'] = array(
    'title' => 'Search options',
    'description' => 'Settings for Location Search module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'location_search_admin_settings',
    ),
    'file' => 'location_search.admin.inc',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 5,
  );
  return $items;
}