public static function SettingBase::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/ Setting/ SettingBase.php, line 201 - Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.
Class
- SettingBase
- Base class for a setting.
Namespace
Drupal\bootstrap\Plugin\SettingCode
public static function validateForm(array &$form, FormStateInterface $form_state) {
static::validateFormElement(Element::create($form), $form_state);
}