You are here

public function HeartbeatStreamInterface::setCreatedTime in Heartbeat 8

Sets the Heartbeat stream creation timestamp.

Parameters

int $timestamp: The Heartbeat stream creation timestamp.

Return value

\Drupal\heartbeat\Entity\HeartbeatStreamInterface The called Heartbeat stream entity.

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

File

src/Entity/HeartbeatStreamInterface.php, line 57

Class

HeartbeatStreamInterface
Provides an interface for defining Heartbeat stream entities.

Namespace

Drupal\heartbeat\Entity

Code

public function setCreatedTime($timestamp);