You are here

public function Transaction::getExecutionTime in Transaction 8

Gets the transaction execution timestamp.

Return value

int The execution timestamp. NULL if transaction was no executed.

Overrides TransactionInterface::getExecutionTime

1 call to Transaction::getExecutionTime()
Transaction::isPending in src/Entity/Transaction.php
Indicates if the transaction is pending execution.

File

src/Entity/Transaction.php, line 307

Class

Transaction
Provides the transaction content entity.

Namespace

Drupal\transaction\Entity

Code

public function getExecutionTime() {
  return $this
    ->get('executed')->value;
}