FormStateInterface::setHasFileElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets that this form has a file element. |
FormStateInterface::setIgnoreDestination |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Determines whether the redirect respects the destination query parameter. |
FormStateInterface::setInvalidToken |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Flags the form state as having or not an invalid token. |
FormStateInterface::setLimitValidationErrors |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the limited validation error sections. |
FormStateInterface::setMethod |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the HTTP method to use for the form's submission. |
FormStateInterface::setProcessInput |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets that the form should process input. |
FormStateInterface::setProgrammed |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets that this form was submitted programmatically. |
FormStateInterface::setProgrammedBypassAccessCheck |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets if this form submission should bypass #access. |
FormStateInterface::setRebuild |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the form to be rebuilt after processing. |
FormStateInterface::setRebuildInfo |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the rebuild info. |
FormStateInterface::setRedirect |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the redirect for the form. |
FormStateInterface::setRedirectUrl |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the redirect URL for the form. |
FormStateInterface::setRequestMethod |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the HTTP method used by the request that is building the form. |
FormStateInterface::setResponse |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets a response for this form. |
FormStateInterface::setStorage |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the entire set of arbitrary data. |
FormStateInterface::setSubmitHandlers |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the submit handlers. |
FormStateInterface::setSubmitted |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets that the form has been submitted. |
FormStateInterface::setTemporary |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets temporary data. |
FormStateInterface::setTemporaryValue |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets an arbitrary value in temporary storage. |
FormStateInterface::setTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the form element that triggered submission. |
FormStateInterface::setUserInput |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the form values as though they were submitted by a user. |
FormStateInterface::setValidateHandlers |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the validate handlers. |
FormStateInterface::setValidationComplete |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets that validation has been completed. |
FormStateInterface::setValidationEnforced |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Enforces that validation is run. |
FormStateInterface::setValue |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the submitted form value for a specific key. |
FormStateInterface::setValueForElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Changes submitted form values during form validation. |
FormStateInterface::setValues |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the submitted form values. |
FormStateInterface::unsetValue |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Removes a specific key from the submitted form values. |
FormStateTest |
class |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests Drupal\Core\Form\FormState. |
FormStateTest.php |
file |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
|
FormStateTest::providerTestGetError |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
|
FormStateTest::providerTestGetRedirect |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Provides test data for testing the getRedirect() method. |
FormStateTest::providerTestIsCached |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Provides test data for testIsCached(). |
FormStateTest::providerTestIsMethodType |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Provides test data for testIsMethodType(). |
FormStateTest::providerTestSetErrorByName |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
|
FormStateTest::testAddCleanValueKey |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests add clean value key. |
FormStateTest::testCleanValues |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests clean values. |
FormStateTest::testFormErrorsDuringSubmission |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests that form errors during submission throw an exception. |
FormStateTest::testGetCleanValueKeys |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests get clean value keys. |
FormStateTest::testGetError |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests the getError() method. |
FormStateTest::testGetRedirect |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests the getRedirect() method. |
FormStateTest::testGetValues |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests get values. |
FormStateTest::testIsCached |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests is cached. |
FormStateTest::testIsMethodType |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests is method type. |
FormStateTest::testLoadInclude |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests load include. |
FormStateTest::testLoadIncludeAlreadyLoaded |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests load include already loaded. |
FormStateTest::testLoadIncludeNoName |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests load include no name. |
FormStateTest::testLoadIncludeNotFound |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests load include not found. |
FormStateTest::testPrepareCallbackArray |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests prepare callback array. |
FormStateTest::testPrepareCallbackInValidMethod |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests prepare callback in valid method. |