protected function GeocoderBase::getDefaultSettings in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::getDefaultSettings()
Return plugin default settings.
Return value
array Default settings.
3 calls to GeocoderBase::getDefaultSettings()
- GeocoderBase::getSettings in src/
GeocoderBase.php - Return plugin settings.
- GoogleGeocoderBase::getDefaultSettings in modules/
geolocation_google_maps/ src/ GoogleGeocoderBase.php - Return plugin default settings.
- Photon::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ Geocoder/ Photon.php - Return plugin default settings.
2 methods override GeocoderBase::getDefaultSettings()
- GoogleGeocoderBase::getDefaultSettings in modules/
geolocation_google_maps/ src/ GoogleGeocoderBase.php - Return plugin default settings.
- Photon::getDefaultSettings in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ Geocoder/ Photon.php - Return plugin default settings.
File
- src/
GeocoderBase.php, line 59
Class
- GeocoderBase
- Class GeocoderBase.
Namespace
Drupal\geolocationCode
protected function getDefaultSettings() {
return [
'label' => $this
->t('Address'),
'description' => $this
->t('Enter an address to be localized.'),
];
}