Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StateInterface.php

function StateInterface::getTransitions

Gets all the possible transition objects for the state.

Return value

\Drupal\workflows\TransitionInterface[] All the possible transition objects for the state.

2 methods override StateInterface::getTransitions()
ContentModerationState::getTransitions in core/modules/content_moderation/src/ContentModerationState.php
Gets all the possible transition objects for the state.
State::getTransitions in core/modules/workflows/src/State.php
Gets all the possible transition objects for the state.

File

core/modules/workflows/src/StateInterface.php, line 74

Class

StateInterface
An interface for state value objects.

Namespace

Drupal\workflows

Code

public function getTransitions();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal