You are here

public static function Geocoder::getDefaultSettings in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/geolocation/LocationInput/Geocoder.php \Drupal\geolocation\Plugin\geolocation\LocationInput\Geocoder::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default plugin settings.

Overrides LocationInputBase::getDefaultSettings

File

src/Plugin/geolocation/LocationInput/Geocoder.php, line 62

Class

Geocoder
Location based proximity center.

Namespace

Drupal\geolocation\Plugin\geolocation\LocationInput

Code

public static function getDefaultSettings() {
  $settings = parent::getDefaultSettings();
  $settings['auto_submit'] = FALSE;
  $settings['hide_form'] = FALSE;
  $settings['plugin_id'] = '';
  $settings['settings'] = [];
  return $settings;
}