Search for state

  1. Search 7.x for state
  2. Search 8.9.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
PerformanceTestRecorder::$state property core/lib/Drupal/Core/Test/PerformanceTestRecorder.php The state service for persistent storage if necessary.
PHP Runtime Assert Statements group core/core.api.php Use of the assert() statement in Drupal.
PluginManagerCacheClearer::$state property core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php
PluralFormula::$state property core/modules/locale/src/PluralFormula.php
PredefinedStatesWorkflowTestType class core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Test workflow type.
PredefinedStatesWorkflowTestType.php file core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php
PredefinedStatesWorkflowTestType::addState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Adds a state to the workflow.
PredefinedStatesWorkflowTestType::defaultConfiguration function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Gets default configuration for this plugin.
PredefinedStatesWorkflowTestType::deleteState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Deletes a state from the workflow.
PredefinedStatesWorkflowTestType::getState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Gets a workflow state.
PredefinedStatesWorkflowTestType::getStates function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Gets state objects for the provided state IDs.
PredefinedStatesWorkflowTestType::hasState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Determines if the workflow has a state with the provided ID.
PredefinedStatesWorkflowTestType::setStateLabel function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Sets a state's label.
PredefinedStatesWorkflowTestType::setStateWeight function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Sets a state's weight value.
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.
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 Modules to enable.
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.
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.
SqlContentEntityStorageSchemaColumnTest::$state property core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php The state object.
SqliteDriverLegacyTest::testDeprecationStatement function core/modules/sqlite/tests/src/Kernel/sqlite/SqliteDriverLegacyTest.php @covers Drupal\Core\Database\Driver\sqlite\Statement[[api-linebreak]]
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.

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