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
SubformStateTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getLimitValidationErrors[[api-linebreak]]
SubformStateTest::testGetValue function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValue[[api-linebreak]]
SubformStateTest::testGetValueBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValue[[api-linebreak]]
SubformStateTest::testGetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValues[[api-linebreak]]
@covers ::getParents[[api-linebreak]]
SubformStateTest::testGetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getValues[[api-linebreak]]
@covers ::getParents[[api-linebreak]]
SubformStateTest::testSetErrorByName function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setErrorByName[[api-linebreak]]
SubformStateTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setLimitValidationErrors[[api-linebreak]]
SubformStateTest::testSetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues[[api-linebreak]]
SubformStateTest::testSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues[[api-linebreak]]
SystemRequirements::phpVersionWithPdoDisallowMultipleStatements function core/modules/system/src/SystemRequirements.php Determines whether the passed in PHP version disallows multiple statements.
SystemRequirementsTest::providerTestPhpVersionWithPdoDisallowMultipleStatements function core/modules/system/tests/src/Unit/SystemRequirementsTest.php
SystemRequirementsTest::testPhpVersionWithPdoDisallowMultipleStatements function core/modules/system/tests/src/Unit/SystemRequirementsTest.php @covers ::phpVersionWithPdoDisallowMultipleStatements[[api-linebreak]]
@dataProvider providerTestPhpVersionWithPdoDisallowMultipleStatements
@expectedDeprecation Drupal\system\SystemRequirements::phpVersionWithPdoDisallowMultipleStatements() is…
system_post_update_states_clear_cache function core/modules/system/system.post_update.php Force cache clear to ensure aggregated JavaScript files are regenerated.
TableDragTest::$state property core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php The state service.
TableDragTestForm::$state property core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php The state service.
TermParentsTest::$state property core/modules/taxonomy/tests/src/Functional/TermParentsTest.php The state service.
TestClass::$state property core/modules/system/tests/modules/service_provider_test/src/TestClass.php The state keyvalue collection.
TestStateBasedSectionStorage class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Provides a test section storage that is controlled by state.
TestStateBasedSectionStorage.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::access function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::buildRoutes function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::extractIdFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getLayoutBuilderUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getSectionList function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getSectionListFromId function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getSections function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getStorageId function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::isApplicable function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::label function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::save function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStatementInterface interface core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php As StatementInterface extends \Traversable, which though always needs
an additional interface. The Statement class itself can't be mocked because
of its __wakeup function.
TestToolkit::$state property core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php The state service.
TestType::getRequiredStates function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/TestType.php
ThemeInfoTest::$state property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php The state service used in this test.
ThemeInstaller::$state property core/lib/Drupal/Core/Extension/ThemeInstaller.php
TransactionTest::executeDDLStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Executes a DDL statement.
TransactionTest::testTransactionWithDdlStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests the compatibility of transactions with DDL statements.
Transition::$fromStateIds property core/modules/workflows/src/Transition.php The transition's from state IDs.
Transition::$toStateId property core/modules/workflows/src/Transition.php The transition's to state ID.
TranslateFormBase::$state property core/modules/locale/src/Form/TranslateFormBase.php The state store.
TranslationStatusForm::$state property core/modules/locale/src/Form/TranslationStatusForm.php The Drupal state storage service.
TwigEnvironment::$state property core/lib/Drupal/Core/Template/TwigEnvironment.php The state service.
UnpublishedBlockTest::testViewShowsCorrectStates function core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UpdateManagerUpdate::$state property core/modules/update/src/Form/UpdateManagerUpdate.php The Drupal state storage service.
UpdateProcessor::$stateStore property core/modules/update/src/UpdateProcessor.php The state service.
UpdateReady::$state property core/modules/update/src/Form/UpdateReady.php The state key value store.
UserRegistrationTest::testUuidFormState function core/modules/user/tests/src/Functional/UserRegistrationTest.php Tests that UUID isn't cached in form state on register form.
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.

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