You are here

public function HeartbeatInterface::setRevisionCreationTime in Heartbeat 8

Sets the Heartbeat revision creation timestamp.

Parameters

int $timestamp: The UNIX timestamp of when this revision was created.

Return value

\Drupal\heartbeat\Entity\HeartbeatInterface The called Heartbeat entity.

Overrides RevisionLogInterface::setRevisionCreationTime

File

src/Entity/HeartbeatInterface.php, line 158

Class

HeartbeatInterface
Provides an interface for defining Heartbeat entities.

Namespace

Drupal\heartbeat\Entity

Code

public function setRevisionCreationTime($timestamp);