public function TransactorHandlerInterface::getNextTransaction in Transaction 8
Get the next same-type transaction in order of execution.
Parameters
\Drupal\transaction\TransactionInterface $transaction: The transaction from which to get the next.
Return value
\Drupal\transaction\TransactionInterface The previously executed transaction. NULL if this is the last executed.
Throws
\Drupal\transaction\InvalidTransactionStateException If the transaction is no executed.
1 method overrides TransactorHandlerInterface::getNextTransaction()
- TransactorHandler::getNextTransaction in src/
TransactorHandler.php - Get the next same-type transaction in order of execution.
File
- src/
TransactorHandlerInterface.php, line 106
Class
- TransactorHandlerInterface
- Defines an interface for transactor handler.
Namespace
Drupal\transactionCode
public function getNextTransaction(TransactionInterface $transaction);