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
FormBuilderTest::buildTestFormStructure function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Returns a test form array for use in form builder tests.
FormBuilderTest::formStateResponseProvider function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Provides test data for testHandleFormStateResponse().
FormBuilderTest::providerTestBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for ::testBuildFormWithTriggeringElement().
FormBuilderTest::providerTestChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testChildAccessInheritance.
FormBuilderTest::providerTestFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testFormTokenCacheability.
FormBuilderTest::providerTestInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::providerTestValueCallableIsSafe function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::setUp function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::testBuildFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a class name based form ID.
FormBuilderTest::testBuildFormWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a form object.
FormBuilderTest::testBuildFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a string based form ID.
FormBuilderTest::testBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests whether the triggering element is properly identified.
FormBuilderTest::testChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests child access inheritance.
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests exceeded file size.
FormBuilderTest::testFormCacheDeletionCached function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that a cached form is deleted after submit.
FormBuilderTest::testFormCacheDeletionUncached function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that an uncached form does not trigger cache set or delete.
FormBuilderTest::testFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests form token cacheability.
FormBuilderTest::testGetAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests get ajax request.
FormBuilderTest::testGetCache function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getCache() method.
FormBuilderTest::testGetFormIdWithBaseForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a base form object.
FormBuilderTest::testGetFormIdWithClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a class name form ID.
FormBuilderTest::testGetFormIdWithInjectedClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with an injected class name form ID.
FormBuilderTest::testGetFormIdWithNonFormClass function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests get form id with non form class.
FormBuilderTest::testGetFormIdWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a form object.
FormBuilderTest::testGetFormIdWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a string based form ID.
FormBuilderTest::testGetFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a class name based form ID.
FormBuilderTest::testGetFormWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a form object.
FormBuilderTest::testGetFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a string based form ID.
FormBuilderTest::testHandleFormStateResponse function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the handling of FormStateInterface::$response.
FormBuilderTest::testHandleRedirectWithResponse function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the handling of a redirect when FormStateInterface::$response exists.
FormBuilderTest::testInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests invalid token.
FormBuilderTest::testPostAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests post ajax request.
FormBuilderTest::testRebuildForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the rebuildForm() method for a POST submission.
FormBuilderTest::testRebuildFormOnGetRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the rebuildForm() method for a GET submission.
FormBuilderTest::testTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the detection of the triggering element.
FormBuilderTest::testUniqueElementHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique between 2 forms with the same element names.
FormBuilderTest::testUniqueHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique when rebuilding a form with errors.
FormBuilderTest::testValueCallableIsSafe function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests value callable is safe.
FormCache class core/lib/Drupal/Core/Form/FormCache.php Encapsulates the caching of a form and its form state.
FormCache.php file core/lib/Drupal/Core/Form/FormCache.php
FormCache::$configFactory property core/lib/Drupal/Core/Form/FormCache.php The config factory.
FormCache::$csrfToken property core/lib/Drupal/Core/Form/FormCache.php The CSRF token generator to validate the form token.
FormCache::$currentUser property core/lib/Drupal/Core/Form/FormCache.php The current user.
FormCache::$keyValueExpirableFactory property core/lib/Drupal/Core/Form/FormCache.php The factory for expirable key value stores used by form cache.
FormCache::$logger property core/lib/Drupal/Core/Form/FormCache.php Logger channel.
FormCache::$moduleHandler property core/lib/Drupal/Core/Form/FormCache.php The module handler.
FormCache::$requestPolicy property core/lib/Drupal/Core/Form/FormCache.php A policy rule determining the cacheability of a request.
FormCache::$requestStack property core/lib/Drupal/Core/Form/FormCache.php The request stack.
FormCache::$root property core/lib/Drupal/Core/Form/FormCache.php The app root.
FormCache::deleteCache function core/lib/Drupal/Core/Form/FormCache.php Deletes a form in the cache.

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