You are here

public function ScheduledTransitionInterface::getWorkflow in Scheduled Transitions 2.x

Same name and namespace in other branches
  1. 8 src/Entity/ScheduledTransitionInterface.php \Drupal\scheduled_transitions\Entity\ScheduledTransitionInterface::getWorkflow()

Get the workflow for this scheduled transition.

Return value

\Drupal\workflows\WorkflowInterface|null The workflow.

1 method overrides ScheduledTransitionInterface::getWorkflow()
ScheduledTransition::getWorkflow in src/Entity/ScheduledTransition.php
Get the workflow for this scheduled transition.

File

src/Entity/ScheduledTransitionInterface.php, line 132

Class

ScheduledTransitionInterface
Interface for Scheduled Transitions.

Namespace

Drupal\scheduled_transitions\Entity

Code

public function getWorkflow() : ?WorkflowInterface;