You are here

public static function FormInterface::validateForm in Express 8

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.

2 methods override FormInterface::validateForm()
FormBase::validateForm in themes/contrib/bootstrap/src/Plugin/Form/FormBase.php
Form validation handler.
SettingBase::validateForm in themes/contrib/bootstrap/src/Plugin/Setting/SettingBase.php
Form validation handler.

File

themes/contrib/bootstrap/src/Plugin/Form/FormInterface.php, line 53
Contains \Drupal\bootstrap\Plugin\Form\FormInterface.

Class

FormInterface
Defines the interface for an object oriented form alter.

Namespace

Drupal\bootstrap\Plugin\Form

Code

public static function validateForm(array &$form, FormStateInterface $form_state);