function FormValidationMessageOrderTest::submitForm

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php \Drupal\KernelTests\Core\Form\FormValidationMessageOrderTest::submitForm()
  2. 10 core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php \Drupal\KernelTests\Core\Form\FormValidationMessageOrderTest::submitForm()
  3. 11.x core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php \Drupal\KernelTests\Core\Form\FormValidationMessageOrderTest::submitForm()

Overrides FormInterface::submitForm

File

core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php, line 72

Class

FormValidationMessageOrderTest
Tests form validation messages are displayed in the same order as the fields.

Namespace

Drupal\KernelTests\Core\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.