function location_search_menu in Location 5.3
Same name and namespace in other branches
- 6.3 contrib/location_search/location_search.module \location_search_menu()
- 7.5 contrib/location_search/location_search.module \location_search_menu()
- 7.3 contrib/location_search/location_search.module \location_search_menu()
- 7.4 contrib/location_search/location_search.module \location_search_menu()
Implementation of hook_menu().
File
- contrib/
location_search/ location_search.module, line 11 - Location search interface.
Code
function location_search_menu($may_cache) {
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/location/search',
'title' => t('Search options'),
'description' => t('Settings for Location Search module'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'location_search_admin_settings',
),
'access' => user_access('administer site configuration'),
'type' => MENU_LOCAL_TASK,
'weight' => 5,
);
return $items;
}
}