namespace Drupal\Tests\Core\Form

Same name in other branches
  1. 10 Drupal\Tests\Core\Form
  2. 11.x Drupal\Tests\Core\Form
  3. 8.9.x Drupal\Tests\Core\Form
Object name File name Summary
ConfigFormBaseTraitTest core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php @coversDefaultClass \Drupal\Core\Form\ConfigFormBaseTrait
@group Form
ConfirmFormHelperTest core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php @coversDefaultClass \Drupal\Core\Form\ConfirmFormHelper
@group Form
FormAjaxResponseBuilderTest core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php @coversDefaultClass \Drupal\Core\Form\FormAjaxResponseBuilder
@group Form
FormBuilderTest core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @coversDefaultClass \Drupal\Core\Form\FormBuilder
@group Form
FormCacheTest core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @coversDefaultClass \Drupal\Core\Form\FormCache
@group Form
FormElementHelperTest core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Tests the form element helper.
FormErrorHandlerTest core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @coversDefaultClass \Drupal\Core\Form\FormErrorHandler
@group Form
FormHelperTest core/tests/Drupal/Tests/Core/Form/FormHelperTest.php @coversDefaultClass \Drupal\Core\Form\FormHelper
@group Form
FormStateDecoratorBaseTest core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @coversDefaultClass \Drupal\Core\Form\FormStateDecoratorBase
FormStateTest core/tests/Drupal/Tests/Core/Form/FormStateTest.php @coversDefaultClass \Drupal\Core\Form\FormState
FormStateValuesTraitStub core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
FormStateValuesTraitTest core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @coversDefaultClass \Drupal\Core\Form\FormStateValuesTrait
FormSubmitterTest core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php @coversDefaultClass \Drupal\Core\Form\FormSubmitter
@group Form
FormTestBase core/tests/Drupal/Tests/Core/Form/FormTestBase.php Provides a base class for testing form functionality.
FormValidatorTest core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @coversDefaultClass \Drupal\Core\Form\FormValidator
@group Form
NonAbstractFormStateDecoratorBase core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides a non-abstract version of the class under test.
OptGroupTest core/tests/Drupal/Tests/Core/Form/OptGroupTest.php @coversDefaultClass \Drupal\Core\Form\OptGroup
@group Form
PrepareCallbackTestForm core/tests/Drupal/Tests/Core/Form/FormStateTest.php A test form used for the prepareCallback() tests.
SubformStateTest core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @coversDefaultClass \Drupal\Core\Form\SubformState
TestForm core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
TestFormInjected core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
TestFormWithPredefinedForm core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php

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