Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
FormTest::assertFormValuesDefault function core/modules/system/tests/src/Functional/Form/FormTest.php Assert that the values submitted to a form matches the default values of the elements.
FormTest::setUp function core/modules/system/tests/src/Functional/Form/FormTest.php
FormTest::setUp function core/modules/field/tests/src/Functional/FormTest.php
FormTest::testCheckboxProcessing function core/modules/system/tests/src/Functional/Form/FormTest.php Tests default value handling for checkboxes.
FormTest::testColorValidation function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation of #type 'color' elements.
FormTest::testDisabledElements function core/modules/system/tests/src/Functional/Form/FormTest.php Tests handling of disabled elements.
FormTest::testDisabledMarkup function core/modules/system/tests/src/Functional/Form/FormTest.php Verify markup for disabled form elements.
FormTest::testEmptySelect function core/modules/system/tests/src/Functional/Form/FormTest.php Tests a select element when #options is not set.
FormTest::testFieldFormAccess function core/modules/field/tests/src/Functional/FormTest.php Tests fields with no 'edit' access.
FormTest::testFieldFormDefaultValue function core/modules/field/tests/src/Functional/FormTest.php Tests field widget default values on entity forms.
FormTest::testFieldFormMultivalueWithRequiredRadio function core/modules/field/tests/src/Functional/FormTest.php Tests widget handling of multiple required radios.
FormTest::testFieldFormSingle function core/modules/field/tests/src/Functional/FormTest.php
FormTest::testFieldFormSingleRequired function core/modules/field/tests/src/Functional/FormTest.php
FormTest::testFieldFormUnlimited function core/modules/field/tests/src/Functional/FormTest.php
FormTest::testFieldFormUnlimitedRequired function core/modules/field/tests/src/Functional/FormTest.php Tests the position of the required label.
FormTest::testGetFormsCsrfToken function core/modules/system/tests/src/Functional/Form/FormTest.php CSRF tokens for GET forms should not be added by default.
FormTest::testHiddenField function core/modules/field/tests/src/Functional/FormTest.php Tests hiding a field in a form.
FormTest::testInputForgery function core/modules/system/tests/src/Functional/Form/FormTest.php Tests Form API protections against input forgery.
FormTest::testInputWithInvalidToken function core/modules/system/tests/src/Functional/Form/FormTest.php Tests that input is retained for safe elements even with an invalid token.
FormTest::testLabelOnMultiValueFields function core/modules/field/tests/src/Functional/FormTest.php Tests the form display of the label for multi-value fields.
FormTest::testNumber function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation of #type 'number' and 'range' elements.
FormTest::testRange function core/modules/system/tests/src/Functional/Form/FormTest.php Tests default value handling of #type 'range' elements.
FormTest::testRequiredAttribute function core/modules/system/tests/src/Functional/Form/FormTest.php Tests required attribute.
FormTest::testRequiredCheckboxesRadio function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation for required checkbox, select, and radio elements.
FormTest::testRequiredFields function core/modules/system/tests/src/Functional/Form/FormTest.php Check several empty values for required forms elements.
FormTest::testRequiredTextfieldNoTitle function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation for required textfield element without title.
FormTest::testSelect function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation of #type 'select' elements.
FormTest::testSelectSorting function core/modules/system/tests/src/Functional/Form/FormTest.php Tests sorting and not sorting of options in a select element.
FormTest::validateSelectSorting function core/modules/system/tests/src/Functional/Form/FormTest.php Validates that the options are in the right order in a select.
FormTestAlterForm class core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().
FormTestAlterForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php
FormTestAlterForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php Form constructor.
FormTestAlterForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php Returns a unique string identifying the form.
FormTestAlterForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php Form submission handler.
FormTestArgumentsObject class core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Provides a test form object that needs arguments.
FormTestArgumentsObject.php file core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
FormTestArgumentsObject::buildForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Form constructor.
FormTestArgumentsObject::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Gets the configuration names that will be editable.
FormTestArgumentsObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Returns a unique string identifying the form.
FormTestArgumentsObject::submitForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Form submission handler.
FormTestArgumentsObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Form validation handler.
FormTestAutocompleteForm class core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php Defines a test form using autocomplete textfields.
FormTestAutocompleteForm.php file core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php
FormTestAutocompleteForm::buildForm function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php Form constructor.
FormTestAutocompleteForm::getFormId function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php Returns a unique string identifying the form.
FormTestAutocompleteForm::submitForm function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php Form submission handler.
FormTestBase class core/tests/Drupal/Tests/Core/Form/FormTestBase.php Provides a base class for testing form functionality.
FormTestBase.php file core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$account property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The current user.
FormTestBase::$cache property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The cache backend to use.

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