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
WorkflowTest::testAddStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests add state exception.
WorkflowTest::testAddStateInvalidIdException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests add state invalid id exception.
WorkflowTest::testAddTransitionDuplicateTransitionStatesException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests add transition duplicate transition states exception.
WorkflowTest::testDeleteOnlyStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests delete only state exception.
WorkflowTest::testDeleteState function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests delete state.
WorkflowTest::testDeleteStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests delete state exception.
WorkflowTest::testGetState function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get state.
WorkflowTest::testGetStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get state exception.
WorkflowTest::testGetStates function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get states.
WorkflowTest::testGetStatesException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get states exception.
WorkflowTest::testGetTransitionFromStateToState function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get transition from state to state.
WorkflowTest::testGetTransitionFromStateToStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get transition from state to state exception.
WorkflowTest::testGetTransitionsForState function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests get transitions for state.
WorkflowTest::testSetStateLabel function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set state label.
WorkflowTest::testSetStateLabelException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set state label exception.
WorkflowTest::testSetStateWeight function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set state weight.
WorkflowTest::testSetStateWeightException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set state weight exception.
WorkflowTest::testSetStateWeightNonNumericException function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set state weight non numeric exception.
WorkflowTest::testSetTransitionFromStates function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set transition from states.
WorkflowTest::testSetTransitionFromStatesAlreadyExists function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set transition from states already exists.
WorkflowTest::testSetTransitionFromStatesMissingState function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set transition from states missing state.
WorkflowTest::testSetTransitionFromStatesMissingTransition function core/modules/workflows/tests/src/Unit/WorkflowTest.php Tests set transition from states missing transition.
WorkflowType::$required_states property core/modules/workflows/src/Attribute/WorkflowType.php States required to exist.
WorkflowType::$required_states property core/modules/workflows/src/Annotation/WorkflowType.php States required to exist.
WorkflowTypeBase::addState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Adds a state to the workflow.
WorkflowTypeBase::deleteState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Deletes a state from the workflow.
WorkflowTypeBase::getInitialState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets the initial state for the workflow.
WorkflowTypeBase::getRequiredStates function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets the required states of workflow type.
WorkflowTypeBase::getState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets a workflow state.
WorkflowTypeBase::getStates function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets state objects for the provided state IDs.
WorkflowTypeBase::getTransitionFromStateToState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets a transition from state to state.
WorkflowTypeBase::getTransitionIdFromStateToState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets the transition ID from state to state.
WorkflowTypeBase::getTransitionsForState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets the transitions for a state for the provided direction.
WorkflowTypeBase::hasState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Determines if the workflow has a state with the provided ID.
WorkflowTypeBase::hasTransitionFromStateToState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Determines if a transition from state to state exists.
WorkflowTypeBase::setStateLabel function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Sets a state's label.
WorkflowTypeBase::setStateWeight function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Sets a state's weight value.
WorkflowTypeBase::setTransitionFromStates function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Sets a transition's from states.
WorkflowTypeBase::workflowStateHasData function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Determines if the workflow state has data associated with it.
WorkflowTypeInterface::addState function core/modules/workflows/src/WorkflowTypeInterface.php Adds a state to the workflow.
WorkflowTypeInterface::deleteState function core/modules/workflows/src/WorkflowTypeInterface.php Deletes a state from the workflow.
WorkflowTypeInterface::getInitialState function core/modules/workflows/src/WorkflowTypeInterface.php Gets the initial state for the workflow.
WorkflowTypeInterface::getRequiredStates function core/modules/workflows/src/WorkflowTypeInterface.php Gets the required states of workflow type.
WorkflowTypeInterface::getState function core/modules/workflows/src/WorkflowTypeInterface.php Gets a workflow state.
WorkflowTypeInterface::getStates function core/modules/workflows/src/WorkflowTypeInterface.php Gets state objects for the provided state IDs.
WorkflowTypeInterface::getTransitionFromStateToState function core/modules/workflows/src/WorkflowTypeInterface.php Gets a transition from state to state.
WorkflowTypeInterface::getTransitionsForState function core/modules/workflows/src/WorkflowTypeInterface.php Gets the transitions for a state for the provided direction.
WorkflowTypeInterface::hasState function core/modules/workflows/src/WorkflowTypeInterface.php Determines if the workflow has a state with the provided ID.
WorkflowTypeInterface::hasTransitionFromStateToState function core/modules/workflows/src/WorkflowTypeInterface.php Determines if a transition from state to state exists.
WorkflowTypeInterface::setStateLabel function core/modules/workflows/src/WorkflowTypeInterface.php Sets a state's label.

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