public function GeocoderInterface::formAttachGeocoder in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/GeocoderInterface.php \Drupal\geolocation\GeocoderInterface::formAttachGeocoder()
- 8 src/GeocoderInterface.php \Drupal\geolocation\GeocoderInterface::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.
1 method overrides GeocoderInterface::formAttachGeocoder()
- GeocoderBase::formAttachGeocoder in src/
GeocoderBase.php - Attach geocoding logic to input element.
File
- src/
GeocoderInterface.php, line 42
Class
- GeocoderInterface
- Defines an interface for geolocation geocoder plugins.
Namespace
Drupal\geolocationCode
public function formAttachGeocoder(array &$render_array, $element_name);