You are here

public function SelectService::validateConfigurationForm in Synonyms 8

Validate submitted values into your configuration form.

Parameters

array $form: Your configuration form as it was built in static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: Form state that corresponds to this form. You should rise form validation errors on this form state, should you discover any in user input.

\Drupal\synonyms\SynonymInterface $synonym_config: Synonym config entity in the context of which the form is being built.

Overrides SynonymsBehaviorConfigurableInterface::validateConfigurationForm

File

src/SynonymsService/Behavior/SelectService.php, line 74

Class

SelectService
Synonyms behavior service for select widget.

Namespace

Drupal\synonyms\SynonymsService\Behavior

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state, SynonymInterface $synonym_config) {
}