function location_geocode_ca_geocoder_settings in Location 5
Same name and namespace in other branches
- 5.3 supported/location.ca.inc \location_geocode_ca_geocoder_settings()
- 6.3 supported/location.ca.inc \location_geocode_ca_geocoder_settings()
- 7.5 supported/location.ca.inc \location_geocode_ca_geocoder_settings()
- 7.3 supported/location.ca.inc \location_geocode_ca_geocoder_settings()
- 7.4 supported/location.ca.inc \location_geocode_ca_geocoder_settings()
File
- supported/
location.ca.inc, line 285
Code
function location_geocode_ca_geocoder_settings() {
$form = array();
$form['location_geocode_ca_geocoder_apikey'] = array(
'#type' => 'textfield',
'#title' => t('Geocoder API Key'),
'#size' => 64,
'#maxlength' => 128,
'#default_value' => variable_get('location_geocode_ca_geocoder_apikey', ''),
'#description' => t('In order to use the Geocoder.ca API geocoding web-service, you for a commercial entity or without attribution you will need a Geocoder API Key. You can obtain one at the !sign_up_link for the !geocoder_api.', array(
'!sign_up_link' => '<a href="http://geocoder.ca/?register=1">sign-up page</a>',
'!geocoder_api' => '<a href="http://geocoder.ca/?premium_api=1">Geocoder API</a>',
)),
);
return $form;
}