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. Search main for to
  6. Other projects
Title Object type File name Summary
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.
FormTestSubmitButtonAttributeForm class core/modules/system/tests/modules/form_test/src/Form/FormTestSubmitButtonAttributeForm.php Builds a simple form to test the submit_button attribute.
FormTestSubmitButtonAttributeForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestSubmitButtonAttributeForm.php
FormTestSubmitButtonAttributeForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestSubmitButtonAttributeForm.php Form constructor.
FormTestSubmitButtonAttributeForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestSubmitButtonAttributeForm.php Returns a unique string identifying the form.
FormTestSubmitButtonAttributeForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestSubmitButtonAttributeForm.php Form submission 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::$callableResolver property core/lib/Drupal/Core/Form/FormValidator.php The callable resolver.
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.
FormValidator::$logger property core/lib/Drupal/Core/Form/FormValidator.php A logger instance.
FormValidator::$requestStack property core/lib/Drupal/Core/Form/FormValidator.php The request stack.
FormValidator::determineLimitValidationErrors function core/lib/Drupal/Core/Form/FormValidator.php Determines if validation errors should be limited.
FormValidator::doValidateForm function core/lib/Drupal/Core/Form/FormValidator.php Performs validation on form elements.

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