You are here

public function WorkflowInterface::getTransitionsByStateId in Workflow 8

Get a specific transition.

Parameters

string $from_sid:

string $to_sid:

Return value

\Drupal\workflow\Entity\WorkflowConfigTransition[]

1 method overrides WorkflowInterface::getTransitionsByStateId()
Workflow::getTransitionsByStateId in src/Entity/Workflow.php
Get a specific transition.

File

src/Entity/WorkflowInterface.php, line 169

Class

WorkflowInterface
Defines a common interface for Workflow*Transition* objects.

Namespace

Drupal\workflow\Entity

Code

public function getTransitionsByStateId($from_sid, $to_sid);