You are here

public function ScheduledTransitionInterface::getEntity in Scheduled Transitions 8

Same name and namespace in other branches
  1. 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\Entity

Code

public function getEntity() : ?EntityInterface;