You are here

public function GeocoderBase::formAttachGeocoder in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::formAttachGeocoder()
  2. 8.2 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::formAttachGeocoder()

Attach geocoding logic to input element.

Parameters

array $render_array: Form containing the input element.

string $element_name: Name of the input element.

Return value

array|null Updated form element or NULL.

Overrides GeocoderInterface::formAttachGeocoder

3 methods override GeocoderBase::formAttachGeocoder()
Dummy::formAttachGeocoder in tests/modules/geolocation_dummy_geocoder/src/Plugin/geolocation/Geocoder/Dummy.php
Attach geocoding logic to input element.
GoogleGeocodingAPI::formAttachGeocoder in src/Plugin/geolocation/Geocoder/GoogleGeocodingAPI.php
Attach geocoding logic to input element.
GooglePlacesAPI::formAttachGeocoder in modules/geolocation_google_places_api/src/Plugin/geolocation/Geocoder/GooglePlacesAPI.php
Attach geocoding logic to input element.

File

src/GeocoderBase.php, line 76

Class

GeocoderBase
Class GeocoderBase.

Namespace

Drupal\geolocation

Code

public function formAttachGeocoder(array &$render_array, $element_name) {
  return NULL;
}