You are here

public function ScheduledTransition::getEntityRevisionId in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x src/Entity/ScheduledTransition.php \Drupal\scheduled_transitions\Entity\ScheduledTransition::getEntityRevisionId()

Get the revision this scheduled transition is for.

Return value

string|int|null The revision ID.

Overrides ScheduledTransitionInterface::getEntityRevisionId

File

src/Entity/ScheduledTransition.php, line 141

Class

ScheduledTransition
Scheduled Transition entity.

Namespace

Drupal\scheduled_transitions\Entity

Code

public function getEntityRevisionId() {
  return $this
    ->get('entity_revision_id')->value;
}