public function TransactionInterface::getNext in Transaction 8
Get the next same-type transaction in order of execution.
Return value
\Drupal\transaction\TransactionInterface The previously executed transaction. NULL if this is the last executed.
Throws
\Drupal\transaction\InvalidTransactionStateException If the transaction was not executed yet.
1 method overrides TransactionInterface::getNext()
- Transaction::getNext in src/
Entity/ Transaction.php - Get the next same-type transaction in order of execution.
File
- src/
TransactionInterface.php, line 104
Class
- TransactionInterface
- The interface for transaction entities.
Namespace
Drupal\transactionCode
public function getNext();