Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
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.
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::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The CSRF token generator.
FormTestBase::$formValidator property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$urlGenerator property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The mocked URL generator.
FormTestButtonClassForm class core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php Builds a simple form to test form button classes.
FormTestButtonClassForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php
FormTestButtonClassForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php Form constructor.
FormTestButtonClassForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php Returns a unique string identifying the form.
FormTestButtonClassForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php Form submission handler.
FormTestClickedButtonForm class core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Form builder to test button click detection.
FormTestClickedButtonForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php
FormTestClickedButtonForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Form constructor.
FormTestClickedButtonForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Returns a unique string identifying the form.
FormTestClickedButtonForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Form submission handler.
FormTestClickedButtonForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Form validation handler.
FormTestController::buttonWithFormAttribute function core/modules/system/tests/modules/form_test/src/Controller/FormTestController.php Returns a form and a button that has the form attribute.
FormTestController::storageLegacyHandler function core/modules/system/tests/modules/form_test/src/Controller/FormTestController.php Emulate legacy AHAH-style ajax callback.
FormTestObject class core/modules/system/tests/modules/form_test/src/FormTestObject.php Provides a test form object.
FormTestObject.php file core/modules/system/tests/modules/form_test/src/FormTestObject.php
FormTestObject::buildForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form constructor.
FormTestObject::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/FormTestObject.php Gets the configuration names that will be editable.
FormTestObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestObject.php Returns a unique string identifying the form.
FormTestObject::submitForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form submission handler.
FormTestObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form validation handler.
FormTestOptionalContainerForm class core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php Builds a simple form to test the #optional property on #type 'container'.
FormTestOptionalContainerForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php
FormTestOptionalContainerForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php Form constructor.
FormTestOptionalContainerForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php Returns a unique string identifying the form.
FormTestOptionalContainerForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php Form submission handler.
FormTestStorageForm class core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php A multistep form for testing the form storage.
FormTestStorageForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
FormTestStorageForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form constructor.
FormTestStorageForm::continueSubmitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
FormTestStorageForm::elementValidateValueCached function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form element validation handler for 'value' element.
FormTestStorageForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Returns a unique string identifying the form.
FormTestStorageForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form submission handler.
FormTestStorageForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form validation handler.
FormTestStoragePageCacheForm class core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form to test page cache storage.
FormTestStoragePageCacheForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php
FormTestStoragePageCacheForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form constructor.
FormTestStoragePageCacheForm::form_test_storage_page_cache_old_build_id function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form element #after_build callback: output the old form build-id.
FormTestStoragePageCacheForm::form_test_storage_page_cache_rebuild function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form submit callback: Rebuild the form and continue.
FormTestStoragePageCacheForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Returns a unique string identifying the form.
FormTestStoragePageCacheForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form submission handler.
FormTestStoragePageCacheForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form validation handler.

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