function public static function FormInterface::validateFormElement

8.x-3.x FormInterface.php public static FormInterface::validateFormElement(Element $form, FormStateInterface $form_state)

Form validation handler.

Parameters

\Drupal\bootstrap\Utility\Element $form: The Element object that comprises the form.

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

Class

FormInterface
Defines the interface for an object oriented form alter.

Namespace

Drupal\bootstrap\Plugin\Form

Source src/Plugin/Form/FormInterface.php (line 59)

public static function validateFormElement(Element $form, FormStateInterface $form_state);