public function Transaction::getCreatedTime in Transaction 8
Gets the transaction creation timestamp.
Return value
int The creation timestamp.
Overrides TransactionInterface::getCreatedTime
File
- src/
Entity/ Transaction.php, line 322
Class
- Transaction
- Provides the transaction content entity.
Namespace
Drupal\transaction\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}