You are here

public function RecentlyRead::getCreatedTime in Recently Read 8

Gets the Recently read creation timestamp.

Return value

int Creation timestamp of the Recently read.

Overrides RecentlyReadInterface::getCreatedTime

File

src/Entity/RecentlyRead.php, line 82

Class

RecentlyRead
Defines the Recently read entity.

Namespace

Drupal\recently_read\Entity

Code

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