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 11.x for to
  5. Other projects
Title Object type File name Summary
FormBuilder::buttonWasClicked function core/lib/Drupal/Core/Form/FormBuilder.php Determines if a given button triggered the form submission.
FormBuilder::renderFormTokenPlaceholder function core/lib/Drupal/Core/Form/FormBuilder.php Renders the form CSRF token. It's a #lazy_builder callback.
FormBuilder::setInvalidTokenError function core/lib/Drupal/Core/Form/FormBuilder.php Sets a form_token error on the given form state.
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::testFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::prepareForm[[api-linebreak]]
FormBuilderTest::testInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::doBuildForm[[api-linebreak]]
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::$keyValueExpirableFactory property core/lib/Drupal/Core/Form/FormCache.php The factory for expirable key value stores used by form cache.
FormCacheTest::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The CSRF token generator.
FormCacheTest::$formCacheStore property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value store used by form cache.
FormCacheTest::$formStateCacheStore property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value store used by form state cache.
FormCacheTest::$keyValueExpirableFactory property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value factory.
FormCacheTest::testCacheCustomExpiration function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests the form cache with an overridden cache expiration.
FormCacheTest::testCacheToken function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests the form cache with a logged-in user.
FormCacheTest::testGetCacheInvalidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testNoCacheToken function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests the form cache without a logged-in user.
FormDefaultHandlersTest::customSubmitForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::customValidateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::testDefaultAndCustomHandlers function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests that default handlers are added even if custom are specified.
FormElement::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElement.php Adds autocomplete functionality to elements.
FormElementBase::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElementBase.php Adds autocomplete functionality to elements.
FormErrorHandlerCKEditor5Test class core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Tests the inline errors fragment link to a CKEditor5-enabled textarea.
FormErrorHandlerCKEditor5Test.php file core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php
FormErrorHandlerCKEditor5Test::$defaultTheme property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php The theme to install as the default for testing.
FormErrorHandlerCKEditor5Test::$modules property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Modules to install.
FormErrorHandlerCKEditor5Test::setUp function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php
FormErrorHandlerCKEditor5Test::testFragmentLink function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Tests if the fragment link to a textarea works with CKEditor 5 enabled.
FormErrorHandlerTest::$linkGenerator property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The link generator.
FormHelper::rewriteStatesSelector function core/lib/Drupal/Core/Form/FormHelper.php Rewrites #states selectors in a render element.
FormHelperTest::testRewriteStatesSelector function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Tests rewriting the #states selectors.
FormObjectTest::testObjectFormCallback function core/modules/system/tests/src/Functional/Form/FormObjectTest.php Tests using an object as the form callback.
FormState::$buttons property core/lib/Drupal/Core/Form/FormState.php A list containing copies of all submit and button elements in the form.
FormState::$invalidToken property core/lib/Drupal/Core/Form/FormState.php Determines if only safe element value callbacks are called.
FormState::$storage property core/lib/Drupal/Core/Form/FormState.php The storage.
FormState::getButtons function core/lib/Drupal/Core/Form/FormState.php Returns the submit and button elements for the form.
FormState::getStorage function core/lib/Drupal/Core/Form/FormState.php Returns the entire set of arbitrary data.
FormState::hasInvalidToken function core/lib/Drupal/Core/Form/FormState.php Determines if the form has an invalid token.
FormState::setButtons function core/lib/Drupal/Core/Form/FormState.php Stores the submit and button elements for the form.
FormState::setInvalidToken function core/lib/Drupal/Core/Form/FormState.php Flags the form state as having or not an invalid token.
FormState::setStorage function core/lib/Drupal/Core/Form/FormState.php Sets the entire set of arbitrary data.
FormStateDecoratorBase class core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Decorates another form state.
FormStateDecoratorBase.php file core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBase::$decoratedFormState property core/lib/Drupal/Core/Form/FormStateDecoratorBase.php The decorated form state.
FormStateDecoratorBase::addBuildInfo function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Adds a value to the build info.
FormStateDecoratorBase::addCleanValueKey function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Adds a key to the array of form values that will be cleaned.
FormStateDecoratorBase::addRebuildInfo function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Adds a value to the rebuild info.
FormStateDecoratorBase::cleanValues function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Removes internal Form API elements and buttons from submitted form values.

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