function location_geocoding_parameters_page in Location 7.3
Same name and namespace in other branches
- 5.3 location.module \location_geocoding_parameters_page()
- 5 location.module \location_geocoding_parameters_page()
- 6.3 location.module \location_geocoding_parameters_page()
- 7.5 location.module \location_geocoding_parameters_page()
- 7.4 location.module \location_geocoding_parameters_page()
Page callback.
1 string reference to 'location_geocoding_parameters_page'
- location_menu in ./
location.module - Implements hook_menu().
File
- ./
location.module, line 1019 - Location module main routines. An implementation of a universal API for location manipulation. Provides functions for postal_code proximity searching, deep-linking into online mapping services. Currently, some options are configured through an…
Code
function location_geocoding_parameters_page($country_iso, $service) {
drupal_set_title(t('Configure parameters for %service geocoding', array(
'%service' => $service,
)), PASS_THROUGH);
$breadcrumbs = drupal_get_breadcrumb();
$breadcrumbs[] = l(t('Location'), 'admin/config/content/location');
$breadcrumbs[] = l(t('Geocoding'), 'admin/config/content/location/geocoding');
$countries = location_get_iso3166_list();
$breadcrumbs[] = l($countries[$country_iso], 'admin/config/content/location/geocoding', array(
'fragment' => $country_iso,
));
drupal_set_breadcrumb($breadcrumbs);
return drupal_get_form('location_geocoding_parameters_form', $country_iso, $service);
}