You are here

protected function GoogleGeocodingAPI::getDefaultSettings in Geolocation Field 8.3

Return plugin default settings.

Return value

array Default settings.

Overrides GoogleGeocoderBase::getDefaultSettings

File

modules/geolocation_google_maps/src/Plugin/geolocation/Geocoder/GoogleGeocodingAPI.php, line 32

Class

GoogleGeocodingAPI
Provides the Google Geocoding API.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\Geocoder

Code

protected function getDefaultSettings() {
  $default_settings = parent::getDefaultSettings();
  $default_settings['region'] = '';
  return $default_settings;
}