You are here

public function GeofieldProximitySourceInterface::validateOptionsForm in Geofield 8

Validates the options form 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.

1 method overrides GeofieldProximitySourceInterface::validateOptionsForm()
GeofieldProximitySourceBase::validateOptionsForm in src/Plugin/GeofieldProximitySourceBase.php
Validates the options form for the geofield proximity plugin.

File

src/Plugin/GeofieldProximitySourceInterface.php, line 66

Class

GeofieldProximitySourceInterface
Defines an interface for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function validateOptionsForm(array &$form, FormStateInterface $form_state, array $options_parents);