You are here

public function Heartbeat::getRevisionUser in Heartbeat 8

Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().

Overrides RevisionLogEntityTrait::getRevisionUser

1 call to Heartbeat::getRevisionUser()
Heartbeat::preSave in src/Entity/Heartbeat.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/Heartbeat.php, line 261

Class

Heartbeat

Namespace

Drupal\heartbeat\Entity

Code

public function getRevisionUser() {
  return $this
    ->get('revision_uid')->entity;
}