function public static function FormBase::validateFormElement

8.x-3.x FormBase.php public static FormBase::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.

Overrides FormInterface::validateFormElement

Class

FormBase
Base form alter class.

Namespace

Drupal\bootstrap\Plugin\Form

Source src/Plugin/Form/FormBase.php (line 50)

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