function location_search_menu in Location 7.3
Same name and namespace in other branches
- 5.3 contrib/location_search/location_search.module \location_search_menu()
- 6.3 contrib/location_search/location_search.module \location_search_menu()
- 7.5 contrib/location_search/location_search.module \location_search_menu()
- 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;
}