You are here

public static function ControlElementBase::getDefaultSettings in Geolocation Field 8.2

Same name in this branch
  1. 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
  2. 8.2 modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_yandex\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
  3. 8.2 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
Same name and namespace in other branches
  1. 8.3 modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_yandex\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

1 call to ControlElementBase::getDefaultSettings()
ControlElementBase::getSettingsForm in modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/ControlElementBase.php
Provide a generic map settings form array.

File

modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/ControlElementBase.php, line 18

Class

ControlElementBase
Class ControlMapFeatureBase.

Namespace

Drupal\geolocation_yandex\Plugin\geolocation\MapFeature

Code

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