public static function ControlCustomGeocoder::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlCustomGeocoder.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\ControlCustomGeocoder::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides ControlElementBase::getDefaultSettings
1 call to ControlCustomGeocoder::getDefaultSettings()
- ControlCustomGeocoder::getSettingsForm in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlCustomGeocoder.php - Provide a generic map settings form array.
File
- modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlCustomGeocoder.php, line 61
Class
- ControlCustomGeocoder
- Provides Geocoding control element.
Namespace
Drupal\geolocation_google_maps\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return array_replace_recursive(parent::getDefaultSettings(), [
'geocoder' => 'google_geocoding_api',
'settings' => [],
]);
}