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 10.3.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
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 Gets default configuration for this plugin.
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.
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.
Schema::executeDdlStatement function core/lib/Drupal/Core/Database/Schema.php Executes a data definition language (DDL) statement.
SimpletestTestRunResultsStorage::getCurrentTestRunState function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Get state information about a test run, from storage.
SimpletestTestRunResultsStorageTest::testGetCurrentTestRunState function core/tests/Drupal/KernelTests/Core/Test/SimpletestTestRunResultsStorageTest.php Tests get current test run state.
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.
StageFixtureManipulator::$state property core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php The state service.
StageFixtureManipulator::STATE_KEY constant core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php The state key to use.
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::$deprecatedState property core/lib/Drupal/Core/State/State.php Information about all deprecated state, keyed by legacy state key.
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.
State::canTransitionTo function core/modules/workflows/src/State.php Determines if the state can transition to the provided state ID.
State::delete function core/lib/Drupal/Core/State/State.php Deletes the element.
State::deleteMultiple function core/lib/Drupal/Core/State/State.php Deletes multiple items.
State::get function core/lib/Drupal/Core/State/State.php Gets value from the cache.
State::getMultiple function core/lib/Drupal/Core/State/State.php Returns the stored key/value pairs for a given set of keys.
State::getTransitions function core/modules/workflows/src/State.php Gets all the possible transition objects for the state.
State::getTransitionTo function core/modules/workflows/src/State.php Gets the Transition object for the provided state ID.
State::id function core/modules/workflows/src/State.php Gets the state's ID.
State::label function core/modules/workflows/src/State.php Gets the state's label.
State::labelCallback function core/modules/workflows/src/State.php Helper method to convert a State value object to a label.
State::resetCache function core/lib/Drupal/Core/State/State.php Resets the static cache.
State::resolveCacheMiss function core/lib/Drupal/Core/State/State.php Resolves a cache miss.
State::set function core/lib/Drupal/Core/State/State.php Implements \Drupal\Core\Cache\CacheCollectorInterface::set().
State::setMultiple function core/lib/Drupal/Core/State/State.php Saves key/value pairs.
State::weight function core/modules/workflows/src/State.php Gets the state's weight.
State::__construct function core/modules/workflows/src/State.php State constructor.
State::__construct function core/lib/Drupal/Core/State/State.php Constructs a State object.
StateFileExistsTest class core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Tests that core modules have a migrate_drupal.yml file as needed.

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