Search for forms
- Search 7.x for forms
- Search 9.5.x for forms
- Search 8.9.x for forms
- Search 10.3.x for forms
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FormState::$errors | property | core/ |
Contains errors for this form. |
FormState::$executed | property | core/ |
If TRUE, the form was submitted and has been processed and executed. |
FormState::$groups | property | core/ |
The references to details elements to render them within vertical tabs. |
FormState::$has_file_element | property | core/ |
Indicates a file element is present. |
FormState::$ignoreDestination | property | core/ |
Used to ignore destination when redirecting. |
FormState::$input | property | core/ |
The array of values as they were submitted by the user. |
FormState::$invalidToken | property | core/ |
Determines if only safe element value callbacks are called. |
FormState::$limit_validation_errors | property | core/ |
Stores which errors should be limited during validation. |
FormState::$method | property | core/ |
The HTTP form method to use for finding the input for this form. |
FormState::$must_validate | property | core/ |
Indicates if a validation will be forced. |
FormState::$no_cache | property | core/ |
If set to TRUE the form will NOT be cached, even if 'cache' is set. |
FormState::$no_redirect | property | core/ |
If set to TRUE the form will NOT perform a redirect. |
FormState::$process_input | property | core/ |
Indicates correct form submission. |
FormState::$programmed | property | core/ |
Indicates if the form was submitted programmatically. |
FormState::$programmed_bypass_access_check | property | core/ |
Indicates if programmatic form submissions bypasses #access check. |
FormState::$rebuild | property | core/ |
Determines whether the form is rebuilt. |
FormState::$rebuild_info | property | core/ |
Similar to self::$build_info. |
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/ |
The response object. |
FormState::$storage | property | core/ |
The storage. |
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. |
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/ |
Adds a value to the build info. |
FormState::addCleanValueKey | function | core/ |
Adds a key to the array of form values that will be cleaned. |
FormState::addRebuildInfo | function | core/ |
Adds a value to the rebuild info. |
FormState::cleanValues | function | core/ |
Removes internal Form API elements and buttons from submitted form values. |
FormState::clearErrors | function | core/ |
Clears all errors against all form elements made by self::setErrorByName(). |
FormState::disableCache | function | core/ |
Prevents the form from being cached. |
FormState::disableRedirect | function | core/ |
Prevents the form from redirecting. |
FormState::get | function | core/ |
Gets the value for a property in the form state storage. |
FormState::getAlwaysProcess | function | core/ |
Determines if this form should always be processed. |
FormState::getBuildInfo | function | core/ |
Returns the build info for the form. |
FormState::getButtons | function | core/ |
Returns the submit and button elements for the form. |
FormState::getCacheableArray | function | core/ |
Returns an array representation of the cacheable portion of the form state. |
FormState::getCleanValueKeys | function | core/ |
Gets the keys of the form values that will be cleaned. |
FormState::getCompleteForm | function | core/ |
Returns a reference to the complete form array. |
FormState::getError | function | core/ |
Returns the error message filed against the given form element. |
FormState::getErrors | function | core/ |
Returns an associative array of all errors. |
FormState::getFormObject | function | core/ |
Returns the form object that is responsible for building this form. |
FormState::getGroups | function | core/ |
Returns references to details elements to render them within vertical tabs. |
FormState::getIgnoreDestination | function | core/ |
Gets whether the redirect respects the destination query parameter. |
FormState::getLimitValidationErrors | function | core/ |
Retrieves the limited validation error sections. |
FormState::getRebuildInfo | function | core/ |
Gets the rebuild info. |
FormState::getRedirect | function | core/ |
Gets the value to use for redirecting after the form has been executed. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.