You are here

function location_geocoding_parameters_page in Location 7.5

Same name and namespace in other branches
  1. 5.3 location.module \location_geocoding_parameters_page()
  2. 5 location.module \location_geocoding_parameters_page()
  3. 6.3 location.module \location_geocoding_parameters_page()
  4. 7.3 location.module \location_geocoding_parameters_page()
  5. 7.4 location.module \location_geocoding_parameters_page()
1 string reference to 'location_geocoding_parameters_page'
location_menu in ./location.module
Implements hook_menu().

File

./location.module, line 867
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('location', 'admin/config/content/location');
  $breadcrumbs[] = l('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);
}