public function FormBuilder::validateForm in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::validateForm()
- 9 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::validateForm()
File
- core/
lib/ Drupal/ Core/ Form/ FormBuilder.php, line 875
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\FormCode
public function validateForm($form_id, &$form, FormStateInterface &$form_state) {
$this->formValidator
->validateForm($form_id, $form, $form_state);
}