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 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
WorkflowTest::testGetTransitionsForState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getTransitionsForState[[api-linebreak]]
WorkflowTest::testSetStateLabel function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setStateLabel[[api-linebreak]]
WorkflowTest::testSetStateLabelException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setStateLabel[[api-linebreak]]
WorkflowTest::testSetStateWeight function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setStateWeight[[api-linebreak]]
WorkflowTest::testSetStateWeightException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setStateWeight[[api-linebreak]]
WorkflowTest::testSetStateWeightNonNumericException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setStateWeight[[api-linebreak]]
WorkflowTest::testSetTransitionFromStates function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTest::testSetTransitionFromStatesAlreadyExists function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTest::testSetTransitionFromStatesMissingState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTest::testSetTransitionFromStatesMissingTransition function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
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.
WorkflowTypeInterface::setStateWeight function core/modules/workflows/src/WorkflowTypeInterface.php Sets a state's weight value.
WorkflowTypeInterface::setTransitionFromStates function core/modules/workflows/src/WorkflowTypeInterface.php Sets a transition's from states.
WorkflowTypeInterface::workflowStateHasData function core/modules/workflows/src/WorkflowTypeInterface.php Determines if the workflow state has data associated with it.
WorkflowTypeStateFormBase class core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php A base class for workflow type state forms.
WorkflowTypeStateFormBase.php file core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php
WorkflowTypeStateFormBase::$workflowType property core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php The workflow type.
WorkflowTypeStateFormBase::setPlugin function core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php Sets the plugin for this object.
WorkflowTypeStateFormBase::submitConfigurationForm function core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php Form submission handler.
WorkflowTypeStateFormBase::validateConfigurationForm function core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php Form validation handler.
WorkflowUiTest::testStateMachineNameValidation function core/modules/workflows/tests/src/Functional/WorkflowUiTest.php Tests the machine name validation of the state add form.
WorkspaceCRUDTest::$state property core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php The state service.
WorkspaceInformationTest::$state property core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php The state store.

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