Search for forms

  1. Search 7.x for forms
  2. Search 8.9.x for forms
  3. Search 10.3.x for forms
  4. Search 11.x for forms
  5. Other projects
Title Object type File name Summary
FormState::setButtons function core/lib/Drupal/Core/Form/FormState.php Stores the submit and button elements for the form.
FormState::setCached function core/lib/Drupal/Core/Form/FormState.php Sets this form to be cached.
FormState::setCleanValueKeys function core/lib/Drupal/Core/Form/FormState.php Sets the keys of the form values that will be cleaned.
FormState::setCompleteForm function core/lib/Drupal/Core/Form/FormState.php Stores the complete form array.
FormState::setError function core/lib/Drupal/Core/Form/FormState.php Flags an element as having an error.
FormState::setErrorByName function core/lib/Drupal/Core/Form/FormState.php Files an error against a form element.
FormState::setExecuted function core/lib/Drupal/Core/Form/FormState.php Sets that the form was submitted and has been processed and executed.
FormState::setFormObject function core/lib/Drupal/Core/Form/FormState.php Sets the form object that is responsible for building this form.
FormState::setFormState function core/lib/Drupal/Core/Form/FormState.php Sets the value of the form state.
FormState::setGroups function core/lib/Drupal/Core/Form/FormState.php Sets references to details elements to render them within vertical tabs.
FormState::setHasFileElement function core/lib/Drupal/Core/Form/FormState.php Sets that this form has a file element.
FormState::setInvalidToken function core/lib/Drupal/Core/Form/FormState.php Flags the form state as having or not an invalid token.
FormState::setLimitValidationErrors function core/lib/Drupal/Core/Form/FormState.php Sets the limited validation error sections.
FormState::setMethod function core/lib/Drupal/Core/Form/FormState.php Sets the HTTP method to use for the form's submission.
FormState::setProcessInput function core/lib/Drupal/Core/Form/FormState.php Sets that the form should process input.
FormState::setProgrammed function core/lib/Drupal/Core/Form/FormState.php Sets that this form was submitted programmatically.
FormState::setProgrammedBypassAccessCheck function core/lib/Drupal/Core/Form/FormState.php Sets if this form submission should bypass #access.
FormState::setRebuild function core/lib/Drupal/Core/Form/FormState.php Sets the form to be rebuilt after processing.
FormState::setRebuildInfo function core/lib/Drupal/Core/Form/FormState.php Sets the rebuild info.
FormState::setRedirect function core/lib/Drupal/Core/Form/FormState.php Sets the redirect for the form.
FormState::setRedirectUrl function core/lib/Drupal/Core/Form/FormState.php Sets the redirect URL for the form.
FormState::setRequestMethod function core/lib/Drupal/Core/Form/FormState.php Sets the HTTP method used by the request that is building the form.
FormState::setResponse function core/lib/Drupal/Core/Form/FormState.php Sets a response for this form.
FormState::setStorage function core/lib/Drupal/Core/Form/FormState.php Sets the entire set of arbitrary data.
FormState::setSubmitHandlers function core/lib/Drupal/Core/Form/FormState.php Sets the submit handlers.
FormState::setSubmitted function core/lib/Drupal/Core/Form/FormState.php Sets that the form has been submitted.
FormState::setTemporary function core/lib/Drupal/Core/Form/FormState.php Sets temporary data.
FormState::setTemporaryValue function core/lib/Drupal/Core/Form/FormState.php Sets an arbitrary value in temporary storage.
FormState::setTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Sets the form element that triggered submission.
FormState::setUserInput function core/lib/Drupal/Core/Form/FormState.php Sets the form values as though they were submitted by a user.
FormState::setValidateHandlers function core/lib/Drupal/Core/Form/FormState.php Sets the validate handlers.
FormState::setValidationComplete function core/lib/Drupal/Core/Form/FormState.php Sets that validation has been completed.
FormState::setValidationEnforced function core/lib/Drupal/Core/Form/FormState.php Enforces that validation is run.
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.
FormStateDecoratorBase::clearErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Clears all errors against all form elements made by self::setErrorByName().
FormStateDecoratorBase::disableCache function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Prevents the form from being cached.
FormStateDecoratorBase::disableRedirect function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Prevents the form from redirecting.
FormStateDecoratorBase::get function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets any arbitrary property.
FormStateDecoratorBase::getAlwaysProcess function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if this form should always be processed.
FormStateDecoratorBase::getBuildInfo function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the build info for the form.
FormStateDecoratorBase::getButtons function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the submit and button elements for the form.
FormStateDecoratorBase::getCacheableArray function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns an array representation of the cacheable portion of the form state.
FormStateDecoratorBase::getCleanValueKeys function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the keys of the form values that will be cleaned.
FormStateDecoratorBase::getCompleteForm function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns a reference to the complete form array.

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