public function ScheduledTransition::getTransitionTime in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Entity/ScheduledTransition.php \Drupal\scheduled_transitions\Entity\ScheduledTransition::getTransitionTime()
Get the time this scheduled transition should execute.
Return value
int The scheduled transition time.
Overrides ScheduledTransitionInterface::getTransitionTime
File
- src/
Entity/ ScheduledTransition.php, line 183
Class
- ScheduledTransition
- Scheduled Transition entity.
Namespace
Drupal\scheduled_transitions\EntityCode
public function getTransitionTime() : int {
return (int) $this
->get('transition_on')->value;
}