You are here

public function HeartbeatStream::getRevisionUser in Heartbeat 8

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

Overrides RevisionLogEntityTrait::getRevisionUser

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

File

src/Entity/HeartbeatStream.php, line 320

Class

HeartbeatStream
Defines the Heartbeat stream entity.

Namespace

Drupal\heartbeat\Entity

Code

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