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
PredefinedStatesWorkflowTestType::getStates function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php
PredefinedStatesWorkflowTestType::hasState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php
PredefinedStatesWorkflowTestType::setStateLabel function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php
PredefinedStatesWorkflowTestType::setStateWeight function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php
PrivateKey::$state property core/lib/Drupal/Core/PrivateKey.php The state service.
PrivateKeyTest::$state property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The state mock class.
PrivateKeyTest::testGetNoState function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get() with no private key from state.
ProxyBuilder::buildUseStatements function core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
ProxyBuilder::buildUseStatements function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Build the required use statements of the proxy class.
QuickEditJavascriptTestBase::$expectedFieldStateAttributes property core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php
QuickEditJavascriptTestBase::assertEntityInstanceFieldStates function core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php Asserts all FieldModels for the given entity instance.
QuickEditJavascriptTestBase::assertEntityInstanceStates function core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php Asserts all EntityModels (entity instances) on the page.
QuickEditJavascriptTestBase::awaitEntityInstanceFieldState function core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php Awaits a particular field instance to reach a particular state.
RendererLegacyTest::testDrupalProcessStates function core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php Tests deprecation of the drupal_process_states() function.
RequiredStateMissingException class core/modules/workflows/src/Exception/RequiredStateMissingException.php Indicates that a workflow does not contain a required state.
RequiredStateMissingException.php file core/modules/workflows/src/Exception/RequiredStateMissingException.php
RequiredStatesTest class core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php Tests Workflow type's required states and configuration initialization.
RequiredStatesTest.php file core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php
RequiredStatesTest::$modules property core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php
RequiredStatesTest::testChangeRequiredStateAPI function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php Ensures that initialized configuration can be changed.
RequiredStatesTest::testDeleteRequiredStateAPI function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php @covers \Drupal\workflows\Entity\Workflow::preSave[[api-linebreak]]
RequiredStatesTest::testGetRequiredStates function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php @covers ::getRequiredStates[[api-linebreak]]
@covers ::__construct[[api-linebreak]]
RequiredStatesTest::testNoStatesRequiredStateAPI function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php @covers \Drupal\workflows\Entity\Workflow::preSave[[api-linebreak]]
RequiredStateTestType class core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php Test workflow type.
RequiredStateTestType.php file core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php
RequiredStateTestType::defaultConfiguration function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php
ResourceTestBase::refreshTestStateAfterRestConfigChange function core/modules/rest/tests/src/Functional/ResourceTestBase.php Refreshes the state of the tester to be in sync with the testee.
ReviewForm::$migrationState property core/modules/migrate_drupal_ui/src/Form/ReviewForm.php Migration state service.
RoutePreloader::$state property core/lib/Drupal/Core/Routing/RoutePreloader.php The state key value store.
RoutePreloaderTest::$state property core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php The mocked state.
RouteProvider::$state property core/lib/Drupal/Core/Routing/RouteProvider.php The state.
RouteProviderTest::$state property core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php The state.
RouteSubscriber::$state property core/modules/views/src/EventSubscriber/RouteSubscriber.php The state key value store.
RouteSubscriberTest::$state property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The mocked key value storage.
SiteConfigureForm::$state property core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php The state service.
SiteMaintenanceModeForm::$state property core/modules/system/src/Form/SiteMaintenanceModeForm.php The state keyvalue collection.
SqlBase::$state property core/modules/migrate/src/Plugin/migrate/source/SqlBase.php State service for retrieving database info.
SqlContentEntityStorageSchemaConverterTestBase::$state property core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaConverterTestBase.php The state service.
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.
State API group core/core.api.php Information about the State API.
State.php file core/lib/Drupal/Core/State/State.php
State.php file core/modules/workflows/src/State.php
State::$cache property core/lib/Drupal/Core/State/State.php Static state cache.
State::$id property core/modules/workflows/src/State.php The state's ID.
State::$keyValueStore property core/lib/Drupal/Core/State/State.php The key value store to use.
State::$label property core/modules/workflows/src/State.php The state's label.
State::$weight property core/modules/workflows/src/State.php The state's weight.
State::$workflow property core/modules/workflows/src/State.php The workflow the state is attached to.

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