You are here

public static function LocationInputBase::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/LocationInputBase.php \Drupal\geolocation\LocationInputBase::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default plugin settings.

Overrides LocationInputInterface::getDefaultSettings

4 calls to LocationInputBase::getDefaultSettings()
ClientLocation::getDefaultSettings in src/Plugin/geolocation/LocationInput/ClientLocation.php
Provide a populated settings array.
Geocoder::getDefaultSettings in src/Plugin/geolocation/LocationInput/Geocoder.php
Provide a populated settings array.
Location::getDefaultSettings in src/Plugin/geolocation/LocationInput/Location.php
Provide a populated settings array.
LocationInputBase::getSettings in src/LocationInputBase.php
Provide LocationInput option specific settings.
3 methods override LocationInputBase::getDefaultSettings()
ClientLocation::getDefaultSettings in src/Plugin/geolocation/LocationInput/ClientLocation.php
Provide a populated settings array.
Geocoder::getDefaultSettings in src/Plugin/geolocation/LocationInput/Geocoder.php
Provide a populated settings array.
Location::getDefaultSettings in src/Plugin/geolocation/LocationInput/Location.php
Provide a populated settings array.

File

src/LocationInputBase.php, line 31

Class

LocationInputBase
Class LocationInputBase.

Namespace

Drupal\geolocation

Code

public static function getDefaultSettings() {
  return [];
}