public function ConfigurationInterface::validateConfigurationForm in Synonyms 2.0.x
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.
File
- src/
ProviderInterface/ ConfigurationInterface.php, line 47
Class
- ConfigurationInterface
- Interface of a configurable synonyms provider.
Namespace
Drupal\synonyms\ProviderInterfaceCode
public function validateConfigurationForm(array &$form, FormStateInterface $form_state, SynonymInterface $synonym_config);