You are here

public function Status::getCreatedTime in Heartbeat 8

Gets the Status creation timestamp.

Return value

int Creation timestamp of the Status.

Overrides StatusInterface::getCreatedTime

File

modules/statusmessage/src/Entity/Status.php, line 99

Class

Status

Namespace

Drupal\statusmessage\Entity

Code

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