namespace Drupal\Tests\system\Functional\Form

Same name in other branches
  1. 10 Drupal\Tests\system\Functional\Form
  2. 9 Drupal\Tests\system\Functional\Form
  3. 8.9.x Drupal\Tests\system\Functional\Form
Object name File name Summary
AlterTest core/modules/system/tests/src/Functional/Form/AlterTest.php Tests hook_form_alter() and hook_form_FORM_ID_alter().
ArbitraryRebuildTest core/modules/system/tests/src/Functional/Form/ArbitraryRebuildTest.php Tests altering forms to be rebuilt so there are multiple steps.
CheckboxTest core/modules/system/tests/src/Functional/Form/CheckboxTest.php Tests the form API checkbox element.
ConfigTargetTest core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests forms using #config_target.
ConfirmFormTest core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php Tests confirmation forms.
ElementsAccessTest core/modules/system/tests/src/Functional/Form/ElementsAccessTest.php Tests access control for form elements.
ElementsContainerTest core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php Tests the container form element for expected behavior.
ElementsLabelsTest core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests form element labels, required markers and associated output.
ElementsTableSelectTest core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php Tests the tableselect form element for expected behavior.
ElementsVerticalTabsTest core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Tests the vertical_tabs form element for expected behavior.
ElementTest core/modules/system/tests/src/Functional/Form/ElementTest.php Tests building and processing of core form elements.
EmailTest core/modules/system/tests/src/Functional/Form/EmailTest.php Tests the form API email element.
FormObjectTest core/modules/system/tests/src/Functional/Form/FormObjectTest.php Tests building a form from an object.
FormStoragePageCacheTest core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php Tests form storage from cached pages.
FormTest core/modules/system/tests/src/Functional/Form/FormTest.php Tests various form element validation mechanisms.
LanguageSelectElementTest core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests the language selection form element.
MenuLinksetSettingsFormTest core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php Tests the menu_linkset_settings form.
ModulesListFormWebTest core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php Tests \Drupal\system\Form\ModulesListForm.
RebuildTest core/modules/system/tests/src/Functional/Form/RebuildTest.php Tests functionality of \Drupal\Core\Form\FormBuilderInterface::rebuildForm().
RedirectTest core/modules/system/tests/src/Functional/Form/RedirectTest.php Tests form redirection functionality.
RegionalSettingsFormTest core/modules/system/tests/src/Functional/Form/RegionalSettingsFormTest.php Tests the system_regional_settings form.
ResponseTest core/modules/system/tests/src/Functional/Form/ResponseTest.php Tests the form API Response element.
StateValuesCleanAdvancedTest core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests the removal of internal Form API elements from submitted form values.
StateValuesCleanTest core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests the proper removal of submitted form values.
StorageTest core/modules/system/tests/src/Functional/Form/StorageTest.php Tests a multistep form using form storage.
StubForm core/modules/system/tests/src/Functional/Form/StubForm.php Provides a stub form for testing purposes.
SystemConfigFormTest core/modules/system/tests/src/Functional/Form/SystemConfigFormTest.php Tests the SystemConfigFormTestBase class.
UrlTest core/modules/system/tests/src/Functional/Form/UrlTest.php Tests the form API URL element.
ValidationTest core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests form processing and alteration via form validation handlers.

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