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
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
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
FormTestFormStateValuesCleanAdvancedForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
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
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
FormTestFormStateValuesCleanForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
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_topics/src/Plugin/Search/HelpSearch.php The state object.
InitialStateTest class core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php Tests the correct initial states are set on install.
InitialStateTest.php file core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php
InitialStateTest::$modules property core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php
InitialStateTest::setUp function core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php
InitialStateTest::testInitialState function core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php Tests the correct initial state.
InstallHelper::$state property core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php State.
install_state_defaults function core/includes/install.core.inc Returns an array of default settings for the global installation state.
JavascriptStatesForm class core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php Builds a simple form to test states.
JavascriptStatesForm.php file core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
JavascriptStatesForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
JavascriptStatesForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
JavascriptStatesForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
JsCollectionOptimizer::$state property core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php The state key/value store.
JsCollectionRenderer::$state property core/lib/Drupal/Core/Asset/JsCollectionRenderer.php The state key/value store.
KernelTestBase::$preserveGlobalState property core/tests/Drupal/KernelTests/KernelTestBase.php Do not forward any global state from the parent process to the processes
that run the actual tests.
LanguageInterface::STATE_ALL constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to all languages.
LanguageInterface::STATE_CONFIGURABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to configurable languages.
LanguageInterface::STATE_LOCKED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to locked languages.
LanguageInterface::STATE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to the site's default language.
LanguageListTest::testLanguageStates function core/modules/language/tests/src/Functional/LanguageListTest.php Functional tests for the language states (locked or configurable).
LanguageNegotiationInfoTest::stateSet function core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php Sets state flags for language_test module.
LanguageTestBase::$state property core/modules/language/tests/src/Kernel/LanguageTestBase.php The state storage service.
LayoutBuilderQuickEditTest::assertEntityInstanceFieldStates function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php
LegacyStateFileExists class core/modules/migrate_drupal/tests/src/Kernel/LegacyStateFileExists.php Extends StateFileExists to test with deprecated modules.
LegacyStateFileExists.php file core/modules/migrate_drupal/tests/src/Kernel/LegacyStateFileExists.php

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