function public static function SettingBase::validateFormElement

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

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 278)

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