public function GeocoderBase::geocode in Geolocation Field 8
Same name and namespace in other branches
- 8.3 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::geocode()
- 8.2 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::geocode()
Geocode an address.
Parameters
string $address: Address to geocode.
Return value
array||null Location or NULL.
Overrides GeocoderInterface::geocode
3 methods override GeocoderBase::geocode()
- Dummy::geocode in tests/
modules/ geolocation_dummy_geocoder/ src/ Plugin/ geolocation/ Geocoder/ Dummy.php - Geocode an address.
- GoogleGeocodingAPI::geocode in src/
Plugin/ geolocation/ Geocoder/ GoogleGeocodingAPI.php - Geocode an address.
- GooglePlacesAPI::geocode in modules/
geolocation_google_places_api/ src/ Plugin/ geolocation/ Geocoder/ GooglePlacesAPI.php - Geocode an address.
File
- src/
GeocoderBase.php, line 97
Class
- GeocoderBase
- Class GeocoderBase.
Namespace
Drupal\geolocationCode
public function geocode($address) {
return NULL;
}