You are here

public function FlippingBook::getCreatedTime in Flipping Book 8

Gets the Flipping Book creation timestamp.

Return value

int Creation timestamp of the Flipping Book.

Overrides FlippingBookInterface::getCreatedTime

File

src/Entity/FlippingBook.php, line 119

Class

FlippingBook
Defines the Flipping Book entity.

Namespace

Drupal\flipping_book\Entity

Code

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