You are here

public function GeocoderFieldPluginInterface::getSettingsForm in Geocoder 8.2

Same name and namespace in other branches
  1. 8.3 modules/geocoder_field/src/GeocoderFieldPluginInterface.php \Drupal\geocoder_field\GeocoderFieldPluginInterface::getSettingsForm()

Provides the third party field settings subform.

The returned form API element will be added in behalf of 'geocoder_field' module as third party settings to the field that is storing the geocoding result.

Parameters

\Drupal\Core\Field\FieldConfigInterface $field: The field config.

array $form: The form API form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state object.

Return value

array A form API form.

1 method overrides GeocoderFieldPluginInterface::getSettingsForm()
DefaultField::getSettingsForm in modules/geocoder_field/src/Plugin/Geocoder/Field/DefaultField.php
Provides the third party field settings subform.

File

modules/geocoder_field/src/GeocoderFieldPluginInterface.php, line 30

Class

GeocoderFieldPluginInterface
Provides an interface for field plugins.

Namespace

Drupal\geocoder_field

Code

public function getSettingsForm(FieldConfigInterface $field, array $form, FormStateInterface &$form_state);