You are here

public function ScheduledTransitionsUtilityInterface::getTransitions in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x src/ScheduledTransitionsUtilityInterface.php \Drupal\scheduled_transitions\ScheduledTransitionsUtilityInterface::getTransitions()

Get scheduled transitions for an entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: An entity.

Return value

\Drupal\scheduled_transitions\Entity\ScheduledTransitionInterface[] An array of scheduled transitions.

1 method overrides ScheduledTransitionsUtilityInterface::getTransitions()
ScheduledTransitionsUtility::getTransitions in src/ScheduledTransitionsUtility.php
Get scheduled transitions for an entity.

File

src/ScheduledTransitionsUtilityInterface.php, line 23

Class

ScheduledTransitionsUtilityInterface
Utilities for Scheduled Transitions module.

Namespace

Drupal\scheduled_transitions

Code

public function getTransitions(EntityInterface $entity) : array;