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
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.
WorkspaceManager::$state property core/modules/workspaces/src/WorkspaceManager.php The state service.
WorkspacesContentModerationStateTest class core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests that Workspaces and Content Moderation work together properly.
WorkspacesContentModerationStateTest.php file core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
WorkspacesContentModerationStateTest::$revEntityTypeId property core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php The ID of the revisionable entity type used in the tests.
WorkspacesContentModerationStateTest::addEntityTypeAndBundleToWorkflow function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Adds an entity type ID / bundle ID to the given workflow.
WorkspacesContentModerationStateTest::assertDefaultRevision function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Checks the default revision ID and publishing status for an entity.
WorkspacesContentModerationStateTest::basicModerationTestCases function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Test cases for basic moderation test.
WorkspacesContentModerationStateTest::createContentType function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Creates a custom content type based on default settings.
WorkspacesContentModerationStateTest::createEditorialWorkflow function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Creates the editorial workflow.
WorkspacesContentModerationStateTest::createEntity function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Creates an entity.
WorkspacesContentModerationStateTest::setUp function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
WorkspacesContentModerationStateTest::testContentModerationIntegrationWithWorkspaces function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests the integration between Content Moderation and Workspaces.
WorkspacesContentModerationStateTest::testGetCurrentUserId function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
WorkspacesContentModerationStateTest::testModerationWithFieldConfigOverride function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests moderation when the moderation_state field has a config override.
WorkspacesContentModerationStateTest::testWorkflowDependencies function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests the dependencies of the workflow when using content moderation.
WorkspacesContentModerationStateTest::testWorkflowNonConfigBundleDependencies function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests the content moderation workflow dependencies for non-config bundles.
WorkspacesContentModerationStateTest::testWorkspaceEntityTypeModeration function core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests that the 'workspace' entity type can not be moderated.

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