public function ScheduledTransitionsNewRevisionEvent::getNewRevision in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Event/ScheduledTransitionsNewRevisionEvent.php \Drupal\scheduled_transitions\Event\ScheduledTransitionsNewRevisionEvent::getNewRevision()
Get the new revision.
Return value
\Drupal\Core\Entity\RevisionableInterface|null The new revision.
File
- src/
Event/ ScheduledTransitionsNewRevisionEvent.php, line 56
Class
- ScheduledTransitionsNewRevisionEvent
- Used to determine the new revision for a transition.
Namespace
Drupal\scheduled_transitions\EventCode
public function getNewRevision() : ?RevisionableInterface {
return $this->newRevision;
}