function FormValidationMessageOrderTest::validateForm
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php \Drupal\KernelTests\Core\Form\FormValidationMessageOrderTest::validateForm()
- 10 core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php \Drupal\KernelTests\Core\Form\FormValidationMessageOrderTest::validateForm()
- 11.x core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php \Drupal\KernelTests\Core\Form\FormValidationMessageOrderTest::validateForm()
Overrides FormInterface::validateForm
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormValidationMessageOrderTest.php, line 66
Class
- FormValidationMessageOrderTest
- Tests form validation messages are displayed in the same order as the fields.
Namespace
Drupal\KernelTests\Core\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.