You are here

public function GeofieldProximitySourceBase::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.

Overrides GeofieldProximitySourceInterface::validateOptionsForm

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

File

src/Plugin/GeofieldProximitySourceBase.php, line 64

Class

GeofieldProximitySourceBase
Base class for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

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