public function ScheduledTransitionInterface::getEntity in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Entity/ScheduledTransitionInterface.php \Drupal\scheduled_transitions\Entity\ScheduledTransitionInterface::getEntity()
Get the entity this scheduled transition is for.
Return value
\Drupal\Core\Entity\EntityInterface|null The entity.
1 method overrides ScheduledTransitionInterface::getEntity()
- ScheduledTransition::getEntity in src/
Entity/ ScheduledTransition.php - Get the entity this scheduled transition is for.
File
- src/
Entity/ ScheduledTransitionInterface.php, line 33
Class
- ScheduledTransitionInterface
- Interface for Scheduled Transitions.
Namespace
Drupal\scheduled_transitions\EntityCode
public function getEntity() : ?EntityInterface;