You are here

public function Transaction::isPending in Transaction 8

Indicates if the transaction is pending execution.

Return value

bool TRUE on pending execution, FALSE if execution was done successfully.

Overrides TransactionInterface::isPending

2 calls to Transaction::isPending()
Transaction::getNext in src/Entity/Transaction.php
Get the next same-type transaction in order of execution.
Transaction::getPrevious in src/Entity/Transaction.php
Get the previous same-type transaction in order of execution.

File

src/Entity/Transaction.php, line 534

Class

Transaction
Provides the transaction content entity.

Namespace

Drupal\transaction\Entity

Code

public function isPending() {
  return $this
    ->getExecutionTime() === NULL;
}