You are here

public function ClientsideValidationDemoForm::validateForm in Clientside Validation 8

Same name and namespace in other branches
  1. 8.2 clientside_validation_demo/src/Form/ClientsideValidationDemoForm.php \Drupal\clientside_validation_demo\Form\ClientsideValidationDemoForm::validateForm()
  2. 3.0.x clientside_validation_demo/src/Form/ClientsideValidationDemoForm.php \Drupal\clientside_validation_demo\Form\ClientsideValidationDemoForm::validateForm()
  3. 2.0.x clientside_validation_demo/src/Form/ClientsideValidationDemoForm.php \Drupal\clientside_validation_demo\Form\ClientsideValidationDemoForm::validateForm()

Form validation handler.

Parameters

array $form: An associative array containing the structure of the form.

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

Overrides FormBase::validateForm

File

clientside_validation_demo/src/Form/ClientsideValidationDemoForm.php, line 189

Class

ClientsideValidationDemoForm
Class ClientsideValidationDemoForm.

Namespace

Drupal\clientside_validation_demo\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
}