You are here

public function HeartbeatInterface::setCreatedTime in Heartbeat 8

Sets the Heartbeat creation timestamp.

Parameters

int $timestamp: The Heartbeat creation timestamp.

Return value

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

1 method overrides HeartbeatInterface::setCreatedTime()
Heartbeat::setCreatedTime in src/Entity/Heartbeat.php
Sets the Heartbeat creation timestamp.

File

src/Entity/HeartbeatInterface.php, line 118

Class

HeartbeatInterface
Provides an interface for defining Heartbeat entities.

Namespace

Drupal\heartbeat\Entity

Code

public function setCreatedTime($timestamp);