You are here

public function LibraryTransaction::getCreatedTime in Library 8

Gets the Library transaction creation timestamp.

Return value

int Creation timestamp of the Library transaction.

Overrides LibraryTransactionInterface::getCreatedTime

File

src/Entity/LibraryTransaction.php, line 68

Class

LibraryTransaction
Defines the Library transaction entity.

Namespace

Drupal\library\Entity

Code

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