public static function MapProviderBase::getDefaultSettings in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/MapProviderBase.php \Drupal\geolocation\MapProviderBase::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides MapProviderInterface::getDefaultSettings
5 calls to MapProviderBase::getDefaultSettings()
- GoogleMapsProviderBase::getDefaultSettings in modules/
geolocation_google_maps/ src/ GoogleMapsProviderBase.php - Provide a populated settings array.
- Here::getDefaultSettings in modules/
geolocation_here/ src/ Plugin/ geolocation/ MapProvider/ Here.php - Provide a populated settings array.
- Leaflet::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapProvider/ Leaflet.php - Provide a populated settings array.
- MapProviderBase::getSettings in src/
MapProviderBase.php - Provide map provider specific settings ready to handover to JS.
- Yandex::getDefaultSettings in modules/
geolocation_yandex/ src/ Plugin/ geolocation/ MapProvider/ Yandex.php - Provide a populated settings array.
4 methods override MapProviderBase::getDefaultSettings()
- GoogleMapsProviderBase::getDefaultSettings in modules/
geolocation_google_maps/ src/ GoogleMapsProviderBase.php - Provide a populated settings array.
- Here::getDefaultSettings in modules/
geolocation_here/ src/ Plugin/ geolocation/ MapProvider/ Here.php - Provide a populated settings array.
- Leaflet::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapProvider/ Leaflet.php - Provide a populated settings array.
- Yandex::getDefaultSettings in modules/
geolocation_yandex/ src/ Plugin/ geolocation/ MapProvider/ Yandex.php - Provide a populated settings array.
File
- src/
MapProviderBase.php, line 60
Class
- MapProviderBase
- Class MapProviderBase.
Namespace
Drupal\geolocationCode
public static function getDefaultSettings() {
return [
'map_features' => [],
];
}