You are here

public function GeocoderInterface::geocode in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 src/GeocoderInterface.php \Drupal\geolocation\GeocoderInterface::geocode()
  2. 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\geolocation

Code

public function geocode($address);