Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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 @covers ::buildForm[[api-linebreak]]
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm[[api-linebreak]]
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 @covers ::prepareForm[[api-linebreak]]
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::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::testGetPostAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm[[api-linebreak]]
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 @covers ::doBuildForm[[api-linebreak]]
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::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 @covers ::valueCallableIsSafe[[api-linebreak]]
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
FormCache::getCache function core/lib/Drupal/Core/Form/FormCache.php
FormCache::loadCachedFormState function core/lib/Drupal/Core/Form/FormCache.php Loads the cached form state.
FormCache::setCache function core/lib/Drupal/Core/Form/FormCache.php
FormCache::__construct function core/lib/Drupal/Core/Form/FormCache.php Constructs a new FormCache.
FormCacheInterface interface core/lib/Drupal/Core/Form/FormCacheInterface.php Provides an interface for the caching of a form and its form state.
FormCacheInterface.php file core/lib/Drupal/Core/Form/FormCacheInterface.php
FormCacheInterface::deleteCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Deletes a form in the cache.
FormCacheInterface::getCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Fetches a form from the cache.
FormCacheInterface::setCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Stores a form in the cache.

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