AlterTest |
core/modules/system/src/Tests/Form/AlterTest.php |
Tests hook_form_alter() and hook_form_FORM_ID_alter(). |
ArbitraryRebuildTest |
core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php |
Tests altering forms to be rebuilt so there are multiple steps. |
CheckboxTest |
core/modules/system/src/Tests/Form/CheckboxTest.php |
Tests form API checkbox handling of various combinations of #default_value
and #return_value. |
ConfirmFormTest |
core/modules/system/src/Tests/Form/ConfirmFormTest.php |
Tests confirmation forms. |
ElementsAccessTest |
core/modules/system/src/Tests/Form/ElementsAccessTest.php |
Tests access control for form elements. |
ElementsLabelsTest |
core/modules/system/src/Tests/Form/ElementsLabelsTest.php |
Tests form element labels, required markers and associated output. |
ElementsTableSelectTest |
core/modules/system/src/Tests/Form/ElementsTableSelectTest.php |
Tests the tableselect form element for expected behavior. |
ElementsVerticalTabsTest |
core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php |
Tests the vertical_tabs form element for expected behavior. |
ElementTest |
core/modules/system/src/Tests/Form/ElementTest.php |
Tests building and processing of core form elements. |
EmailTest |
core/modules/system/src/Tests/Form/EmailTest.php |
Tests the form API email element. |
ExternalFormUrlTest |
core/modules/system/src/Tests/Form/ExternalFormUrlTest.php |
Ensures that form actions can't be tricked into sending to external URLs. |
FormCacheTest |
core/modules/system/src/Tests/Form/FormCacheTest.php |
Tests \Drupal::formBuilder()->setCache() and
\Drupal::formBuilder()->getCache(). |
FormDefaultHandlersTest |
core/modules/system/src/Tests/Form/FormDefaultHandlersTest.php |
Tests automatically added form handlers. |
FormObjectTest |
core/modules/system/src/Tests/Form/FormObjectTest.php |
Tests building a form from an object. |
FormStoragePageCacheTest |
core/modules/system/src/Tests/Form/FormStoragePageCacheTest.php |
Tests form storage from cached pages. |
FormTest |
core/modules/system/src/Tests/Form/FormTest.php |
Tests various form element validation mechanisms. |
LanguageSelectElementTest |
core/modules/system/src/Tests/Form/LanguageSelectElementTest.php |
Tests that the language select form element prints and submits the right
options. |
ModulesListFormWebTest |
core/modules/system/src/Tests/Form/ModulesListFormWebTest.php |
Tests \Drupal\system\Form\ModulesListForm. |
ProgrammaticTest |
core/modules/system/src/Tests/Form/ProgrammaticTest.php |
Tests the programmatic form submission behavior. |
RebuildTest |
core/modules/system/src/Tests/Form/RebuildTest.php |
Tests functionality of \Drupal\Core\Form\FormBuilderInterface::rebuildForm(). |
RedirectTest |
core/modules/system/src/Tests/Form/RedirectTest.php |
Tests form redirection functionality. |
ResponseTest |
core/modules/system/src/Tests/Form/ResponseTest.php |
Tests the form API Response element. |
StateValuesCleanAdvancedTest |
core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php |
Tests proper removal of submitted form values using
\Drupal\Core\Form\FormState::cleanValues() when having forms with elements
containing buttons like "managed_file". |
StateValuesCleanTest |
core/modules/system/src/Tests/Form/StateValuesCleanTest.php |
Tests proper removal of submitted form values using
\Drupal\Core\Form\FormState::cleanValues(). |
StorageTest |
core/modules/system/src/Tests/Form/StorageTest.php |
Tests a multistep form using form storage and makes sure validation and
caching works right. |
StubForm |
core/modules/system/src/Tests/Form/StubForm.php |
Provides a stub form for testing purposes. |
SystemConfigFormTest |
core/modules/system/src/Tests/Form/SystemConfigFormTest.php |
Tests the SystemConfigFormTestBase class. |
TriggeringElementProgrammedUnitTest |
core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php |
Tests detection of triggering_element for programmed form submissions. |
TriggeringElementTest |
core/modules/system/src/Tests/Form/TriggeringElementTest.php |
Tests that FAPI correctly determines the triggering element. |
UrlTest |
core/modules/system/src/Tests/Form/UrlTest.php |
Tests the form API URL element. |
ValidationTest |
core/modules/system/src/Tests/Form/ValidationTest.php |
Tests form processing and alteration via form validation handlers. |