public function LocationInputInterface::getForm in Search API Location 8
Returns a form to configure settings for the plugin.
Parameters
array $form: The form where the settings form is being included in.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
array $options: Option array with extra info of the plugin.
Return value
array The form definition for the widget settings.
1 method overrides LocationInputInterface::getForm()
- LocationInputPluginBase::getForm in src/
LocationInput/ LocationInputPluginBase.php - Returns a form to configure settings for the plugin.
File
- src/
LocationInput/ LocationInputInterface.php, line 69
Class
- LocationInputInterface
- Defines the required methods for a Location Input plugin.
Namespace
Drupal\search_api_location\LocationInputCode
public function getForm(array $form, FormStateInterface $form_state, array $options);