You are here

public function TestProvider::doReverse in Geocoder 8.2

Performs the reverse geocode.

Parameters

float $latitude: The latitude.

float $longitude: The longitude.

Return value

\Geocoder\Model\AddressCollection|null The AddressCollection, NULL otherwise.

Overrides ProviderBase::doReverse

File

modules/geocoder_geofield/tests/modules/geocoder_geofield_test/src/Plugin/Geocoder/Provider/TestProvider.php, line 41

Class

TestProvider
Provides a geocoding provider for testing purposes.

Namespace

Drupal\geocoder_geofield_test\Plugin\Geocoder\Provider

Code

public function doReverse($latitude, $longitude) {
  return FALSE;
}