Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.

All search results

Title Object type File name Summary
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
FormTestAlterForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php
FormTestAlterForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php
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
FormTestArgumentsObject::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
FormTestArgumentsObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
FormTestArgumentsObject::submitForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
FormTestArgumentsObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
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
FormTestAutocompleteForm::getFormId function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php
FormTestAutocompleteForm::submitForm function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php
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.
FormTestBase::$classResolver property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The class results.
FormTestBase::$controllerResolver property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The controller resolver.
FormTestBase::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The CSRF token generator.
FormTestBase::$elementInfo property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The element info manager.
FormTestBase::$eventDispatcher property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The event dispatcher.
FormTestBase::$formBuilder property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The form builder being tested.
FormTestBase::$formCache property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The form cache.
FormTestBase::$formSubmitter property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$formValidator property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$kernel property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$logger property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$moduleHandler property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The mocked module handler.
FormTestBase::$redirectResponseSubscriber property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$request property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The request.
FormTestBase::$requestStack property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The request stack.
FormTestBase::$themeManager property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The mocked theme manager.
FormTestBase::$translationManager property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::$urlGenerator property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The mocked URL generator.
FormTestBase::assertFormElement function core/tests/Drupal/Tests/Core/Form/FormTestBase.php Asserts that the expected form structure is found in a form for a given key.
FormTestBase::getInfo function core/tests/Drupal/Tests/Core/Form/FormTestBase.php A stub method returning properties for the defined element type.
FormTestBase::getMockForm function core/tests/Drupal/Tests/Core/Form/FormTestBase.php Provides a mocked form object.
FormTestBase::setUp function core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestBase::simulateFormSubmission function core/tests/Drupal/Tests/Core/Form/FormTestBase.php Simulates a form submission within a request, bypassing submitForm().
FormTestBase::tearDown function core/tests/Drupal/Tests/Core/Form/FormTestBase.php
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
FormTestButtonClassForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php
FormTestButtonClassForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php

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