You are here

public function ConfigurablePropertyInterface::validateConfigurationForm in Search API 8

Validates a configuration form for a field based on this property.

Parameters

\Drupal\search_api\Item\FieldInterface $field: The field for which the configuration form is validated.

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the complete form.

1 method overrides ConfigurablePropertyInterface::validateConfigurationForm()
ConfigurablePropertyBase::validateConfigurationForm in src/Processor/ConfigurablePropertyBase.php
Validates a configuration form for a field based on this property.

File

src/Processor/ConfigurablePropertyInterface.php, line 47

Class

ConfigurablePropertyInterface
Represents a processor-defined property with additional configuration.

Namespace

Drupal\search_api\Processor

Code

public function validateConfigurationForm(FieldInterface $field, array &$form, FormStateInterface $form_state);