You are here

public static function MapRestriction::getDefaultSettings in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MapRestriction.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\MapRestriction::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

File

modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MapRestriction.php, line 23

Class

MapRestriction
Provides Google Maps.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'north' => '',
    'south' => '',
    'east' => '',
    'west' => '',
    'strict' => TRUE,
  ];
}