Search for forms

  1. Search 7.x for forms
  2. Search 9.5.x for forms
  3. Search 8.9.x for forms
  4. Search 11.x for forms
  5. Other projects
Title Object type File name Summary
FormBuilder::$formSubmitter property core/lib/Drupal/Core/Form/FormBuilder.php The form submitter.
FormBuilderTest::formStateResponseProvider function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Provides test data for testHandleFormStateResponse().
FormBuilderTest::testHandleFormStateResponse function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the handling of FormStateInterface::$response.
FormCache::loadCachedFormState function core/lib/Drupal/Core/Form/FormCache.php Loads the cached form state.
FormCacheTest::$formState property core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest::$formStateCacheStore property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value store used by form state cache.
FormCacheTest::testLoadCachedFormState function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::loadCachedFormState
FormCacheTest::testLoadCachedFormStateWithFiles function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::loadCachedFormState
FormErrorHandler::setElementErrorsFromFormState function core/lib/Drupal/Core/Form/FormErrorHandler.php Stores errors and a list of child element errors directly on each element.
FormErrorHandlerTest::testSetElementErrorsFromFormState function core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @covers ::handleFormErrors
@covers ::setElementErrorsFromFormState
FormState class core/lib/Drupal/Core/Form/FormState.php Stores information about the state of a form.
FormState.php file core/lib/Drupal/Core/Form/FormState.php
FormState::$always_process property core/lib/Drupal/Core/Form/FormState.php
FormState::$anyErrors property core/lib/Drupal/Core/Form/FormState.php Tracks if any errors have been set on any form.
FormState::$build_info property core/lib/Drupal/Core/Form/FormState.php
FormState::$buttons property core/lib/Drupal/Core/Form/FormState.php A list containing copies of all submit and button elements in the form.
FormState::$cache property core/lib/Drupal/Core/Form/FormState.php Determines if the unprocessed form structure is cached.
FormState::$cleanValueKeys property core/lib/Drupal/Core/Form/FormState.php An associative array of form value keys to be removed by cleanValues().
FormState::$complete_form property core/lib/Drupal/Core/Form/FormState.php
FormState::$errors property core/lib/Drupal/Core/Form/FormState.php Contains errors for this form.
FormState::$executed property core/lib/Drupal/Core/Form/FormState.php If TRUE, the form was submitted and has been processed and executed.
FormState::$groups property core/lib/Drupal/Core/Form/FormState.php Contains references to details elements to render them within vertical tabs.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php
FormState::$ignoreDestination property core/lib/Drupal/Core/Form/FormState.php Used to ignore destination when redirecting.
FormState::$input property core/lib/Drupal/Core/Form/FormState.php The array of values as they were submitted by the user.
FormState::$invalidToken property core/lib/Drupal/Core/Form/FormState.php Determines if only safe element value callbacks are called.
FormState::$limit_validation_errors property core/lib/Drupal/Core/Form/FormState.php
FormState::$method property core/lib/Drupal/Core/Form/FormState.php The HTTP form method to use for finding the input for this form.
FormState::$must_validate property core/lib/Drupal/Core/Form/FormState.php
FormState::$no_cache property core/lib/Drupal/Core/Form/FormState.php
FormState::$no_redirect property core/lib/Drupal/Core/Form/FormState.php
FormState::$process_input property core/lib/Drupal/Core/Form/FormState.php
FormState::$programmed property core/lib/Drupal/Core/Form/FormState.php Indicates if the form was submitted programmatically.
FormState::$programmed_bypass_access_check property core/lib/Drupal/Core/Form/FormState.php
FormState::$rebuild property core/lib/Drupal/Core/Form/FormState.php Determines whether the form is rebuilt.
FormState::$rebuild_info property core/lib/Drupal/Core/Form/FormState.php
FormState::$redirect property core/lib/Drupal/Core/Form/FormState.php Used to redirect the form on submission.
FormState::$requestMethod property core/lib/Drupal/Core/Form/FormState.php The HTTP method used by the request building or processing this form.
FormState::$response property core/lib/Drupal/Core/Form/FormState.php The response object.
FormState::$storage property core/lib/Drupal/Core/Form/FormState.php The storage.
FormState::$submitted property core/lib/Drupal/Core/Form/FormState.php If TRUE, the form has been submitted. Defaults to FALSE.
FormState::$submit_handlers property core/lib/Drupal/Core/Form/FormState.php
FormState::$temporary property core/lib/Drupal/Core/Form/FormState.php Holds temporary data accessible during the current page request only.
FormState::$triggering_element property core/lib/Drupal/Core/Form/FormState.php
FormState::$validate_handlers property core/lib/Drupal/Core/Form/FormState.php
FormState::$validation_complete property core/lib/Drupal/Core/Form/FormState.php
FormState::$values property core/lib/Drupal/Core/Form/FormState.php An associative array of values submitted to the form.
FormState::addBuildInfo function core/lib/Drupal/Core/Form/FormState.php Adds a value to the build info.
FormState::addCleanValueKey function core/lib/Drupal/Core/Form/FormState.php Adds a key to the array of form values that will be cleaned.
FormState::addRebuildInfo function core/lib/Drupal/Core/Form/FormState.php Adds a value to the rebuild info.

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