Search for forms
Title | Object type | File name | Summary |
---|---|---|---|
FormStateInterface::setCleanValueKeys | function | core/ |
Sets the keys of the form values that will be cleaned. |
FormStateInterface::setCompleteForm | function | core/ |
Stores the complete form array. |
FormStateInterface::setError | function | core/ |
Flags an element as having an error. |
FormStateInterface::setErrorByName | function | core/ |
Files an error against a form element. |
FormStateInterface::setExecuted | function | core/ |
Sets that the form was submitted and has been processed and executed. |
FormStateInterface::setFormObject | function | core/ |
Sets the form object that is responsible for building this form. |
FormStateInterface::setFormState | function | core/ |
Sets the value of the form state. |
FormStateInterface::setGroups | function | core/ |
Sets references to details elements to render them within vertical tabs. |
FormStateInterface::setHasFileElement | function | core/ |
Sets that this form has a file element. |
FormStateInterface::setIgnoreDestination | function | core/ |
Determines whether the redirect respects the destination query parameter. |
FormStateInterface::setInvalidToken | function | core/ |
Flags the form state as having or not an invalid token. |
FormStateInterface::setLimitValidationErrors | function | core/ |
Sets the limited validation error sections. |
FormStateInterface::setMethod | function | core/ |
Sets the HTTP method to use for the form's submission. |
FormStateInterface::setProcessInput | function | core/ |
Sets that the form should process input. |
FormStateInterface::setProgrammed | function | core/ |
Sets that this form was submitted programmatically. |
FormStateInterface::setProgrammedBypassAccessCheck | function | core/ |
Sets if this form submission should bypass #access. |
FormStateInterface::setRebuild | function | core/ |
Sets the form to be rebuilt after processing. |
FormStateInterface::setRebuildInfo | function | core/ |
Sets the rebuild info. |
FormStateInterface::setRedirect | function | core/ |
Sets the redirect for the form. |
FormStateInterface::setRedirectUrl | function | core/ |
Sets the redirect URL for the form. |
FormStateInterface::setRequestMethod | function | core/ |
Sets the HTTP method used by the request that is building the form. |
FormStateInterface::setResponse | function | core/ |
Sets a response for this form. |
FormStateInterface::setStorage | function | core/ |
Sets the entire set of arbitrary data. |
FormStateInterface::setSubmitHandlers | function | core/ |
Sets the submit handlers. |
FormStateInterface::setSubmitted | function | core/ |
Sets that the form has been submitted. |
FormStateInterface::setTemporary | function | core/ |
Sets temporary data. |
FormStateInterface::setTemporaryValue | function | core/ |
Sets an arbitrary value in temporary storage. |
FormStateInterface::setTriggeringElement | function | core/ |
Sets the form element that triggered submission. |
FormStateInterface::setUserInput | function | core/ |
Sets the form values as though they were submitted by a user. |
FormStateInterface::setValidateHandlers | function | core/ |
Sets the validate handlers. |
FormStateInterface::setValidationComplete | function | core/ |
Sets that validation has been completed. |
FormStateInterface::setValidationEnforced | function | core/ |
Enforces that validation is run. |
FormStateInterface::setValue | function | core/ |
Sets the submitted form value for a specific key. |
FormStateInterface::setValueForElement | function | core/ |
Changes submitted form values during form validation. |
FormStateInterface::setValues | function | core/ |
Sets the submitted form values. |
FormStateInterface::unsetValue | function | core/ |
Removes a specific key from the submitted form values. |
FormStateTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormState |
FormStateTest.php | file | core/ |
|
FormStateTest::providerTestGetError | function | core/ |
|
FormStateTest::providerTestGetRedirect | function | core/ |
Provides test data for testing the getRedirect() method. |
FormStateTest::providerTestIsCached | function | core/ |
Provides test data for testIsCached(). |
FormStateTest::providerTestIsMethodType | function | core/ |
Provides test data for testIsMethodType(). |
FormStateTest::providerTestSetErrorByName | function | core/ |
|
FormStateTest::testAddCleanValueKey | function | core/ |
@covers ::addCleanValueKey |
FormStateTest::testCleanValues | function | core/ |
@depends testAddCleanValueKey |
FormStateTest::testFormErrorsDuringSubmission | function | core/ |
Tests that form errors during submission throw an exception. |
FormStateTest::testGetCleanValueKeys | function | core/ |
@covers ::getCleanValueKeys |
FormStateTest::testGetError | function | core/ |
Tests the getError() method. |
FormStateTest::testGetRedirect | function | core/ |
Tests the getRedirect() method. |
FormStateTest::testGetValues | function | core/ |
@covers ::setValues @covers ::getValues |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.