public static function FormBase::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.
Overrides FormInterface::validateForm
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Form/ FormBase.php, line 47 - Contains \Drupal\bootstrap\Plugin\Form\FormBase.
Class
- FormBase
- Base form alter class.
Namespace
Drupal\bootstrap\Plugin\FormCode
public static function validateForm(array &$form, FormStateInterface $form_state) {
static::validateFormElement(Element::create($form), $form_state);
}