You are here

public function LibraryItem::getCreatedTime in Paragraphs 8

Gets the library item creation timestamp.

Return value

int Creation timestamp of the library item.

Overrides LibraryItemInterface::getCreatedTime

File

modules/paragraphs_library/src/Entity/LibraryItem.php, line 299

Class

LibraryItem
Defines the LibraryItem entity.

Namespace

Drupal\paragraphs_library\Entity

Code

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