namespace Drupal\form_test\Form

Same name in other branches
  1. 10 Drupal\form_test\Form
  2. 11.x Drupal\form_test\Form
  3. 8.9.x Drupal\form_test\Form
Object name File name Summary
FormTestAlterForm core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().
FormTestButtonClassForm core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php Builds a simple form to test form button classes.
FormTestCheckboxesRadiosForm core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesRadiosForm.php Form constructor to test expansion of #type checkboxes and radios.
FormTestCheckboxesZeroForm core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesZeroForm.php Tests checkboxes zero.
FormTestCheckboxForm core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxForm.php Form for testing checkbox.
FormTestCheckboxTypeJugglingForm core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxTypeJugglingForm.php Builds a form to test return values for checkboxes.
FormTestClickedButtonForm core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Form builder to test button click detection.
FormTestColorForm core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php Form constructor for testing #type 'color' elements.
FormTestDescriptionForm core/modules/system/tests/modules/form_test/src/Form/FormTestDescriptionForm.php Defines a form for testing form element description display options.
FormTestDetailsForm core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Builds a simple form to test the #group property on #type 'container'.
FormTestDisabledElementsForm core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Builds a form to test disabled elements.
FormTestEmailForm core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form constructor for testing #type 'email' elements.
FormTestEmptySelectForm core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php Builds a form to test select elements when #options is not an array.
FormTestFileForm core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form constructor for testing #type 'file' elements.
FormTestFormStateValuesCleanAdvancedForm core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanForm core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestGetForm core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php Form to test whether GET forms have a CSRF token.
FormTestGroupContainerForm core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php Builds a simple form to test the #group property on #type 'container'.
FormTestGroupDetailsForm core/modules/system/tests/modules/form_test/src/Form/FormTestGroupDetailsForm.php Builds a simple form to test the #group property on #type 'details'.
FormTestGroupFieldsetForm core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php Builds a simple form to test the #group property on #type 'fieldset'.
FormTestGroupVerticalTabsForm core/modules/system/tests/modules/form_test/src/Form/FormTestGroupVerticalTabsForm.php Builds a simple form to test the #group property on #type 'vertical_tabs'.
FormTestInputForgeryForm core/modules/system/tests/modules/form_test/src/Form/FormTestInputForgeryForm.php Form to test input forgery.
FormTestLabelForm core/modules/system/tests/modules/form_test/src/Form/FormTestLabelForm.php A form for testing form labels and required marks.
FormTestLanguageSelectForm core/modules/system/tests/modules/form_test/src/Form/FormTestLanguageSelectForm.php Builds a form to test the language select form element.
FormTestLimitValidationErrorsForm core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php Builds a simple form with a button triggering partial validation.
FormTestMachineNameForm core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameForm.php Form constructor for testing #type 'machine_name' elements.
FormTestMachineNameValidationForm core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Form to test whether machine name validation works with ajax requests.
FormTestNumberForm core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php Builds a form to test #type 'number' and 'range' validation.
FormTestOptionalContainerForm core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php Builds a simple form to test the #optional property on #type 'container'.
FormTestPatternForm core/modules/system/tests/modules/form_test/src/Form/FormTestPatternForm.php Builds a simple form using the FAPI #pattern property.
FormTestPlaceholderForm core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php Builds a form to test the placeholder attribute.
FormTestProgrammaticForm core/modules/system/tests/modules/form_test/src/Form/FormTestProgrammaticForm.php Form builder to test programmatic form submissions.
FormTestRadiosCheckedForm core/modules/system/tests/modules/form_test/src/Form/FormTestRadiosCheckedForm.php Form constructor to test #default_value settings of radios.
FormTestRangeForm core/modules/system/tests/modules/form_test/src/Form/FormTestRangeForm.php Form constructor for testing #type 'range' elements.
FormTestRangeInvalidForm core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Form constructor for testing invalid #type 'range' elements.
FormTestRebuildPreserveValuesForm core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php Form builder for testing preservation of values during a rebuild.
FormTestRedirectForm core/modules/system/tests/modules/form_test/src/Form/FormTestRedirectForm.php Form builder to detect form redirect.
FormTestRequiredAttributeForm core/modules/system/tests/modules/form_test/src/Form/FormTestRequiredAttributeForm.php Builds a form to test the required attribute.
FormTestResponseForm core/modules/system/tests/modules/form_test/src/Form/FormTestResponseForm.php Form constructor for testing #type 'url' elements.
FormTestSelectForm core/modules/system/tests/modules/form_test/src/Form/FormTestSelectForm.php Builds a form to test #type 'select' validation.
FormTestStatePersistForm core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form constructor for testing form state persistence.
FormTestStorageForm core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php A multistep form for testing the form storage.
FormTestStoragePageCacheForm core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form to test page cache storage.
FormTestTableForm core/modules/system/tests/modules/form_test/src/Form/FormTestTableForm.php Form constructor for testing #type 'table' elements.
FormTestTableSelectColspanForm core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectColspanForm.php Builds a form to test table selects with different column spans.
FormTestTableSelectDisabledRowsForm core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectDisabledRowsForm.php Builds a form to test table select with disabled rows.
FormTestTableSelectEmptyForm core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectEmptyForm.php Builds a form to test table select with '#options' set to empty.
FormTestTableSelectFormBase core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectFormBase.php Provides a base class for tableselect forms.
FormTestTableSelectJsSelectForm core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectJsSelectForm.php Builds a form to test table select with JS.
FormTestTableSelectMultipleFalseForm core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleFalseForm.php Builds a form to test table select with '#multiple" set to FALSE.

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