Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormState::$no_redirect | property | core/ |
If set to TRUE the form will NOT perform a redirect, even if self::$redirect is set. |
| FormState::$process_input | property | core/ |
TRUE signifies correct form submission. This is always TRUE for programmed forms coming from \Drupal\Core\Form\FormBuilderInterface::submitForm() (see 'programmed' key), or if the form_id coming from the \Drupal::request()->request data… |
| FormState::$programmed | property | core/ |
If TRUE, the form was submitted programmatically, usually invoked via \Drupal\Core\Form\FormBuilderInterface::submitForm(). Defaults to FALSE. |
| FormState::$programmed_bypass_access_check | property | core/ |
If TRUE, programmatic form submissions are processed without taking #access into account. Set this to FALSE when submitting a form programmatically with values that may have been input by the user executing the current request; this will cause #access… |
| FormState::$rebuild | property | core/ |
Normally, after the entire form processing is completed and submit handlers have run, a form is considered to be done and \Drupal\Core\Form\FormSubmitterInterface::redirectForm() will redirect the user to a new page using a GET request (so a browser… |
| FormState::$rebuild_info | property | core/ |
Similar to self::$build_info, but pertaining to \Drupal\Core\Form\FormBuilderInterface::rebuildForm(). |
| FormState::$redirect | property | core/ |
Used to redirect the form on submission. |
| FormState::$requestMethod | property | core/ |
The HTTP method used by the request building or processing this form. |
| FormState::$response | property | core/ |
Used when a form needs to return some kind of a \Symfony\Component\HttpFoundation\Response object, e.g., a \Symfony\Component\HttpFoundation\BinaryFileResponse when triggering a file download. If you use self::setRedirect() or… |
| FormState::$storage | property | core/ |
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::$submitted | property | core/ |
If TRUE, the form has been submitted. Defaults to FALSE. |
| FormState::$submit_handlers | property | core/ |
Stores the gathered submission handlers. |
| FormState::$temporary | property | core/ |
Holds temporary data accessible during the current page request only. |
| FormState::$triggering_element | property | core/ |
The form element that triggered submission, which may or may not be a button (in the case of Ajax forms). This key is often used to distinguish between various buttons in a submit handler, and is also used in Ajax handlers. |
| FormState::$validate_handlers | property | core/ |
Stores the gathered validation handlers. |
| FormState::$validation_complete | property | core/ |
Tracks if the form has finished validation. |
| FormState::$values | property | core/ |
An associative array of values submitted to the form. |
| FormState::addBuildInfo | function | core/ |
|
| FormState::addCleanValueKey | function | core/ |
|
| FormState::addRebuildInfo | function | core/ |
|
| FormState::cleanValues | function | core/ |
|
| FormState::clearErrors | function | core/ |
|
| FormState::disableCache | function | core/ |
|
| FormState::disableRedirect | function | core/ |
|
| FormState::get | function | core/ |
|
| FormState::getAlwaysProcess | function | core/ |
|
| FormState::getBuildInfo | function | core/ |
|
| FormState::getButtons | function | core/ |
|
| FormState::getCacheableArray | function | core/ |
|
| FormState::getCleanValueKeys | function | core/ |
|
| FormState::getCompleteForm | function | core/ |
|
| FormState::getError | function | core/ |
|
| FormState::getErrors | function | core/ |
|
| FormState::getFormObject | function | core/ |
|
| FormState::getGroups | function | core/ |
|
| FormState::getLimitValidationErrors | function | core/ |
|
| FormState::getRebuildInfo | function | core/ |
|
| FormState::getRedirect | function | core/ |
|
| FormState::getResponse | function | core/ |
|
| FormState::getStorage | function | core/ |
|
| FormState::getSubmitHandlers | function | core/ |
|
| FormState::getTemporary | function | core/ |
|
| FormState::getTemporaryValue | function | core/ |
|
| FormState::getTriggeringElement | function | core/ |
|
| FormState::getUserInput | function | core/ |
|
| FormState::getValidateHandlers | function | core/ |
|
| FormState::getValues | function | core/ |
|
| FormState::has | function | core/ |
|
| FormState::hasAnyErrors | function | core/ |
|
| FormState::hasFileElement | function | core/ |
Pagination
- Previous page
- Page 690
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.