Search for to

  1. Search 7.x for to
  2. Search 8.9.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
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::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.
FormTestValidateNoToken class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form to test the validation of forms with a disabled CSRF token.
FormTestValidateNoToken.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php
FormTestValidateNoToken::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form constructor.
FormTestValidateNoToken::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Returns a unique string identifying the form.
FormTestValidateNoToken::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form submission handler.
FormUploadedFile::getClientOriginalName function core/modules/file/src/Upload/FormUploadedFile.php Returns the original file name.
FormValidator class core/lib/Drupal/Core/Form/FormValidator.php Provides validation of form submissions.
FormValidator.php file core/lib/Drupal/Core/Form/FormValidator.php
FormValidator::$csrfToken property core/lib/Drupal/Core/Form/FormValidator.php The CSRF token generator to validate the form token.
FormValidator::$formErrorHandler property core/lib/Drupal/Core/Form/FormValidator.php The form error handler.

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