public static function ControlElementBase::getDefaultSettings in Geolocation Field 8.3
Same name in this branch
- 8.3 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
- 8.3 modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_yandex\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
- 8.3 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
Same name and namespace in other branches
- 8.2 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/ControlElementBase.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\ControlElementBase::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides MapFeatureBase::getDefaultSettings
3 calls to ControlElementBase::getDefaultSettings()
- ControlElementBase::getSettingsForm in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ ControlElementBase.php - Provide a generic map settings form array.
- LeafletControlAttribution::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlAttribution.php - Provide a populated settings array.
- LeafletControlGeocoder::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlGeocoder.php - Provide a populated settings array.
4 methods override ControlElementBase::getDefaultSettings()
- LeafletControlAttribution::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlAttribution.php - Provide a populated settings array.
- LeafletControlGeocoder::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlGeocoder.php - Provide a populated settings array.
- LeafletControlLayer::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlLayer.php - Provide a populated settings array.
- LeafletControlScale::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlScale.php - Provide a populated settings array.
File
- modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ ControlElementBase.php, line 18
Class
- ControlElementBase
- Class ControlMapFeatureBase.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'position' => 'topright',
];
}