public function ScheduledTransitionsNewRevisionEvent::getScheduledTransition in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Event/ScheduledTransitionsNewRevisionEvent.php \Drupal\scheduled_transitions\Event\ScheduledTransitionsNewRevisionEvent::getScheduledTransition()
Gets the scheduled transition entity.
Return value
\Drupal\scheduled_transitions\Entity\ScheduledTransitionInterface A scheduled transition entity.
File
- src/
Event/ ScheduledTransitionsNewRevisionEvent.php, line 46
Class
- ScheduledTransitionsNewRevisionEvent
- Used to determine the new revision for a transition.
Namespace
Drupal\scheduled_transitions\EventCode
public function getScheduledTransition() : ScheduledTransitionInterface {
return $this->scheduledTransition;
}