public function Workflow::getTransitions in State Machine 8
Gets the workflow transitions.
Return value
\Drupal\state_machine\Plugin\Workflow\WorkflowTransition[] The transitions, keyed by transition ID.
Overrides WorkflowInterface::getTransitions
File
- src/
Plugin/ Workflow/ Workflow.php, line 118
Class
- Workflow
- Defines the class for workflows.
Namespace
Drupal\state_machine\Plugin\WorkflowCode
public function getTransitions() {
return $this->transitions;
}