You are here

public function WorkflowInterface::getTransitions in State Machine 8

Gets the workflow transitions.

Return value

\Drupal\state_machine\Plugin\Workflow\WorkflowTransition[] The transitions, keyed by transition ID.

1 method overrides WorkflowInterface::getTransitions()
Workflow::getTransitions in src/Plugin/Workflow/Workflow.php
Gets the workflow transitions.

File

src/Plugin/Workflow/WorkflowInterface.php, line 61

Class

WorkflowInterface
Defines the interface for workflows.

Namespace

Drupal\state_machine\Plugin\Workflow

Code

public function getTransitions();