Search for state

  1. Search 7.x for state
  2. Search 9.5.x for state
  3. Search 10.3.x for state
  4. Search 11.x for state
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
State class core/modules/workflows/src/State.php A value object representing a workflow state.
state service core/core.services.yml Drupal\Core\State\State
State class core/lib/Drupal/Core/State/State.php Provides the state system using a key value store.

All search results

Title Object type File name Summary
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 @coversDefaultClass \Drupal\Core\Form\FormState[[api-linebreak]]
FormStateTest.php file core/tests/Drupal/Tests/Core/Form/FormStateTest.php Contains \Drupal\Tests\Core\Form\FormStateTest.
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 @covers ::addCleanValueKey[[api-linebreak]]
FormStateTest::testCleanValues function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @depends testAddCleanValueKey
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 @covers ::getCleanValueKeys[[api-linebreak]]
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 @covers ::setValues[[api-linebreak]]
@covers ::getValues[[api-linebreak]]
FormStateTest::testIsCached function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::isCached[[api-linebreak]]
FormStateTest::testIsMethodType function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::isMethodType[[api-linebreak]]
@covers ::setMethod[[api-linebreak]]
FormStateTest::testLoadInclude function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::loadInclude[[api-linebreak]]
FormStateTest::testLoadIncludeAlreadyLoaded function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::loadInclude[[api-linebreak]]
FormStateTest::testLoadIncludeNoName function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::loadInclude[[api-linebreak]]
FormStateTest::testLoadIncludeNotFound function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::loadInclude[[api-linebreak]]
FormStateTest::testPrepareCallbackArray function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateTest::testSetCachedGet function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::setCached[[api-linebreak]]
FormStateTest::testSetCachedPost function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::setCached[[api-linebreak]]
FormStateTest::testSetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::setCleanValueKeys[[api-linebreak]]
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 @covers ::setErrorByName[[api-linebreak]]
FormStateTest::testTemporaryValue function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::getTemporaryValue[[api-linebreak]]
@covers ::hasTemporaryValue[[api-linebreak]]
@covers ::setTemporaryValue[[api-linebreak]]
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()
FormStateValuesTrait::unsetValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::unsetValue()
FormStateValuesTraitStub class core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
FormStateValuesTraitStub::$values property core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php The submitted form values.
FormStateValuesTraitStub::getValues function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
FormStateValuesTraitTest class core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @coversDefaultClass \Drupal\Core\Form\FormStateValuesTrait[[api-linebreak]]
FormStateValuesTraitTest.php file core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
FormStateValuesTraitTest::providerGetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testGetValue().
FormStateValuesTraitTest::providerHasValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testHasValue().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.