public function LibraryItem::getCreatedTime

Gets the library item creation timestamp.

Return value

int Creation timestamp of the library item.

Overrides LibraryItemInterface::getCreatedTime

File

paragraphs/modules/paragraphs_library/src/Entity/LibraryItem.php, line 304

Class

LibraryItem
Defines the LibraryItem entity.

Namespace

Drupal\paragraphs_library\Entity

Code

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