public function ScheduledTransitionsUtilityInterface::getTransitions in Scheduled Transitions 2.x
Same name and namespace in other branches
- 8 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 25
Class
- ScheduledTransitionsUtilityInterface
- Utilities for Scheduled Transitions module.
Namespace
Drupal\scheduled_transitionsCode
public function getTransitions(EntityInterface $entity) : array;