Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
FormBase::resetConfigFactory function core/lib/Drupal/Core/Form/FormBase.php Resets the configuration factory.
FormBase::setConfigFactory function core/lib/Drupal/Core/Form/FormBase.php Sets the config factory for this form.
FormBuilder::$csrfToken property core/lib/Drupal/Core/Form/FormBuilder.php The CSRF token generator to validate the form token.
FormBuilder::$formValidator property core/lib/Drupal/Core/Form/FormBuilder.php The form validator.
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.
FormEditor class core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php Defines the form in-place editor.
FormEditor.php file core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php
FormEditor::getAttachments function core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php Returns the attachments for this editor.
FormEditor::isCompatible function core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php Checks whether this in-place editor is compatible with a given field.
FormElement::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElement.php Adds autocomplete functionality to elements.
FormErrorHandlerCKEditorTest class core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php Tests the inline errors fragment link to a CKEditor-enabled textarea.
FormErrorHandlerCKEditorTest.php file core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php
FormErrorHandlerCKEditorTest::$defaultTheme property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php The theme to install as the default for testing.
FormErrorHandlerCKEditorTest::$modules property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php Modules to enable.
FormErrorHandlerCKEditorTest::setUp function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php
FormErrorHandlerCKEditorTest::testFragmentLink function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php Tests if the fragment link to a textarea works with CKEditor enabled.
FormErrorHandlerQuickEditTest::$editorUser property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php An editor user with permissions to access the in-place editor.
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 If set to TRUE the form will skip calling form element value callbacks,
except for a select list of callbacks provided by Drupal core that are
known to be safe.
FormState::$storage property core/lib/Drupal/Core/Form/FormState.php This is not a special key, and no specific support is provided for it in
the Form API. By tradition it was the location where application-specific
data was stored for communication between the submit, validation, and form
builder functions, especially…
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.

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