public function GeocoderInterface::geocode in Geolocation Field 8
Same name and namespace in other branches
- 8.3 src/GeocoderInterface.php \Drupal\geolocation\GeocoderInterface::geocode()
- 8.2 src/GeocoderInterface.php \Drupal\geolocation\GeocoderInterface::geocode()
Geocode an address.
Parameters
string $address: Address to geocode.
Return value
array||null Location or NULL.
1 method overrides GeocoderInterface::geocode()
- GeocoderBase::geocode in src/
GeocoderBase.php - Geocode an address.
File
- src/
GeocoderInterface.php, line 78
Class
- GeocoderInterface
- Defines an interface for geolocation geocoder plugins.
Namespace
Drupal\geolocationCode
public function geocode($address);