public static function FormInterface::validateFormElement in Express 8
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.
2 methods override FormInterface::validateFormElement()
- FormBase::validateFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Form/ FormBase.php - Form validation handler.
- SettingBase::validateFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php - Form validation handler.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Form/ FormInterface.php, line 63 - Contains \Drupal\bootstrap\Plugin\Form\FormInterface.
Class
- FormInterface
- Defines the interface for an object oriented form alter.
Namespace
Drupal\bootstrap\Plugin\FormCode
public static function validateFormElement(Element $form, FormStateInterface $form_state);