You are here

public static function ClientLocation::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/geolocation/LocationInput/ClientLocation.php \Drupal\geolocation\Plugin\geolocation\LocationInput\ClientLocation::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/ClientLocation.php, line 22

Class

ClientLocation
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;
  return $settings;
}