You are here

public function AutocompleteService::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/AutocompleteService.php, line 111

Class

AutocompleteService
Synonyms behavior service for autocomplete.

Namespace

Drupal\synonyms\SynonymsService\Behavior

Code

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