You are here

public function FormComponentWithValidateInterface::formValidate in Flexiform 8

Perform validation logic.

Form array @var \Drupal\Core\Form\FormStateInterface $form_state

1 method overrides FormComponentWithValidateInterface::formValidate()
FormElementComponent::formValidate in src/Plugin/FormComponentType/FormElementComponent.php
Perform validation logic.

File

src/FormComponent/FormComponentWithValidateInterface.php, line 19

Class

FormComponentWithValidateInterface
Interface for form components that contain their own validation logic.

Namespace

Drupal\flexiform\FormComponent

Code

public function formValidate(array $form, FormStateInterface $form_state);