namespace Drupal\KernelTests\Core\Form

Same name in other branches
  1. 11.x Drupal\KernelTests\Core\Form
  2. 9 Drupal\KernelTests\Core\Form
  3. 8.9.x Drupal\KernelTests\Core\Form
Object name File name Summary
ExternalFormUrlTest core/tests/Drupal/KernelTests/Core/Form/ExternalFormUrlTest.php Ensures that form actions can't be tricked into sending to external URLs.
FormActionXssTest core/tests/Drupal/KernelTests/Core/Form/FormActionXssTest.php Ensures that a form's action attribute can't be exploited with XSS.
FormCacheTest core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests FormBuilder caching.
FormDefaultHandlersTest core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests automatically added form handlers.
FormValidationMessageOrderTest core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests form validation messages are displayed in the same order as the fields.
TriggeringElementProgrammedTest core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests detection of triggering_element for programmed form submissions.

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