| FormStateInterface::unsetValue |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Removes a specific key from the submitted form values. |
| FormStatePersistTest |
class |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Tests that the form state persists across multiple requests. |
| FormStatePersistTest.php |
file |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
|
| FormStatePersistTest::$postRenderStoragePersist |
property |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Values retrieved from form state storage in the form post_render callback. |
| FormStatePersistTest::$submitStoragePersist |
property |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Values retrieved from form state storage in the form submit handler. |
| FormStatePersistTest::buildForm |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Form constructor. |
| FormStatePersistTest::displayCachedState |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Render API #post_render callback. |
| FormStatePersistTest::getFormId |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Returns a unique string identifying the form. |
| FormStatePersistTest::setStateRebuildValue |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Form API #process callback. |
| FormStatePersistTest::submitForm |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Form submission handler. |
| FormStatePersistTest::testFormStatePersistence |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Test that form state persists correctly after being submitted and rebuilt. |
| FormStatePersistTest::validateForm |
function |
core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php |
Form validation handler. |
| 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. |
| FormStateTest::testPrepareCallbackValidMethod |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests prepare callback valid method. |
| FormStateTest::testSetCachedGet |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests set cached get. |
| FormStateTest::testSetCachedPost |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests set cached post. |
| FormStateTest::testSetCleanValueKeys |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests set clean value keys. |
| FormStateTest::testSetError |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests the setError() method. |
| FormStateTest::testSetErrorByName |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests set error by name. |
| FormStateTest::testTemporaryValue |
function |
core/tests/Drupal/Tests/Core/Form/FormStateTest.php |
Tests temporary value. |
| FormStateValuesTrait |
trait |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Provides methods to manage form state values. |
| FormStateValuesTrait.php |
file |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
|
| FormStateValuesTrait::getValue |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::getValue() |
| FormStateValuesTrait::getValues |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::getValues() |
| FormStateValuesTrait::hasValue |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::hasValue() |
| FormStateValuesTrait::isValueEmpty |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::isValueEmpty() |
| FormStateValuesTrait::setValue |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::setValue() |
| FormStateValuesTrait::setValueForElement |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::setValueForElement() |
| FormStateValuesTrait::setValues |
function |
core/lib/Drupal/Core/Form/FormStateValuesTrait.php |
Implements \Drupal\Core\Form\FormStateInterface::setValues() |