You are here

public function StateInterface::getTransitions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::getTransitions()
  2. 9 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::getTransitions()

Gets all the possible transition objects for the state.

Return value

\Drupal\workflows\TransitionInterface[] 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();