You are here

public function GeofieldProximitySourceInterface::buildOptionsForm in Geofield 8

Builds the specific form elements for the geofield proximity plugin.

Parameters

array $form: The form element to build.

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

array $options_parents: The values parents.

bool $is_exposed: The check/differentiate if it is part of an exposed form.

1 method overrides GeofieldProximitySourceInterface::buildOptionsForm()
GeofieldProximitySourceBase::buildOptionsForm in src/Plugin/GeofieldProximitySourceBase.php
Builds the specific form elements for the geofield proximity plugin.

File

src/Plugin/GeofieldProximitySourceInterface.php, line 54

Class

GeofieldProximitySourceInterface
Defines an interface for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function buildOptionsForm(array &$form, FormStateInterface $form_state, array $options_parents, $is_exposed = FALSE);