You are here

public static function FixedCoordinates::getDefaultSettings in Geolocation Field 8.3

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

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides LocationBase::getDefaultSettings

File

src/Plugin/geolocation/Location/FixedCoordinates.php, line 24

Class

FixedCoordinates
Fixed coordinates map center.

Namespace

Drupal\geolocation\Plugin\geolocation\Location

Code

public static function getDefaultSettings() {
  return [
    'latitude' => '',
    'longitude' => '',
  ];
}