You are here

public static function MapFeatureBase::getDefaultSettings in Geolocation Field 8.2

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

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureInterface::getDefaultSettings

2 calls to MapFeatureBase::getDefaultSettings()
LeafletMarkerClusterer::getDefaultSettings in modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletMarkerClusterer.php
Provide a populated settings array.
MapFeatureBase::getSettings in src/MapFeatureBase.php
Provide map feature specific settings ready to handover to JS.
23 methods override MapFeatureBase::getDefaultSettings()
ContextPopup::getDefaultSettings in modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ContextPopup.php
Provide a populated settings array.
ControlElementBase::getDefaultSettings in modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlElementBase.php
Provide a populated settings array.
ControlElementBase::getDefaultSettings in modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/ControlElementBase.php
Provide a populated settings array.
ControlElementBase::getDefaultSettings in modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/ControlElementBase.php
Provide a populated settings array.
Drawing::getDefaultSettings in modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/Drawing.php
Provide a populated settings array.

... See full list

File

src/MapFeatureBase.php, line 31

Class

MapFeatureBase
Class MapFeatureBase.

Namespace

Drupal\geolocation

Code

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