You are here

function hook_reverse_geocode_entity_field_coordinates_alter in Geocoder 8.3

Alter the Entity Field Coordinates to Reverse Geocode.

Parameters

string $latitude: The latitude.

string $longitude: The longitude.

\Drupal\Core\Field\FieldItemListInterface $field: The field object of geocode op.

1 invocation of hook_reverse_geocode_entity_field_coordinates_alter()
geocoder_field_entity_presave in modules/geocoder_field/geocoder_field.module
Implements hook_entity_presave().

File

modules/geocoder_field/geocoder_field.api.php, line 68
Hooks provided by the Geocoder Field module.

Code

function hook_reverse_geocode_entity_field_coordinates_alter(string &$latitude, string &$longitude, FieldItemListInterface $field) {

  // Make custom alterations to the Coordinates to Reverse Geocode.
}