Search for state

  1. Search 7.x for state
  2. Search 9.5.x for state
  3. Search 8.9.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
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 Implements \Drupal\Core\Form\FormStateInterface::getValues()
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().
FormStateValuesTraitTest::providerIsValueEmpty function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testIsValueEmpty().
FormStateValuesTraitTest::providerSetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testSetValue().
FormStateValuesTraitTest::testGetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::getValue[[api-linebreak]]
FormStateValuesTraitTest::testGetValueModifyReturn function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::getValue[[api-linebreak]]
FormStateValuesTraitTest::testHasValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::hasValue[[api-linebreak]]
FormStateValuesTraitTest::testIsValueEmpty function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::isValueEmpty[[api-linebreak]]
FormStateValuesTraitTest::testSetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::setValue[[api-linebreak]]
FormStateValuesTraitTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Tests that setting the value for an element adds to the values.
FormTestFormStateValuesCleanAdvancedForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanAdvancedForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
FormTestFormStateValuesCleanAdvancedForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form constructor.
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanAdvancedForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form submission handler.
FormTestFormStateValuesCleanForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
FormTestFormStateValuesCleanForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form constructor.
FormTestFormStateValuesCleanForm::cleanValue function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Helper function to clean a value on an element.
FormTestFormStateValuesCleanForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form submission handler.
FormTestStatePersistForm class core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form constructor for testing form state persistence.
FormTestStatePersistForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php
FormTestStatePersistForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form constructor.
FormTestStatePersistForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Returns a unique string identifying the form.
FormTestStatePersistForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form submission handler.
HelpSearch::$state property core/modules/help/src/Plugin/Search/HelpSearch.php The state object.
HelpSearch::updateIndexState function core/modules/help/src/Plugin/Search/HelpSearch.php Updates the 'help_search_unindexed_count' state variable.
HelpTestTwigNodeVisitor::getState function core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php Returns the state information.
HelpTestTwigNodeVisitor::setStateValue function core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php Sets state information.
HelpTestTwigNodeVisitor::STATE_NAME constant core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php Name used in \Drupal::state() for saving state information.

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