public static function LeafletControlAttribution::getDefaultSettings in Geolocation Field 8.3
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides ControlElementBase::getDefaultSettings
File
- modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlAttribution.php, line 22
Class
- LeafletControlAttribution
- Provides Attribution control element.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return array_replace_recursive(parent::getDefaultSettings(), [
'prefix' => 'Leaflet',
]);
}