You are here

public function HeartbeatStream::getCreatedTime in Heartbeat 8

Gets the Heartbeat stream creation timestamp.

Return value

int Creation timestamp of the Heartbeat stream.

Overrides HeartbeatStreamInterface::getCreatedTime

File

src/Entity/HeartbeatStream.php, line 245

Class

HeartbeatStream
Defines the Heartbeat stream entity.

Namespace

Drupal\heartbeat\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}