You are here

public function HeartbeatStream::setRevisionCreationTime in Heartbeat 8

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

Overrides RevisionLogEntityTrait::setRevisionCreationTime

File

src/Entity/HeartbeatStream.php, line 312

Class

HeartbeatStream
Defines the Heartbeat stream entity.

Namespace

Drupal\heartbeat\Entity

Code

public function setRevisionCreationTime($timestamp) {
  $this
    ->set('revision_timestamp', $timestamp);
  return $this;
}