You are here

public function TransactionExecutionEvent::__construct in Transaction 8

Constructs the transaction execution event.

Parameters

\Drupal\transaction\TransactionInterface $transaction: The executed transaction.

File

src/Event/TransactionExecutionEvent.php, line 33

Class

TransactionExecutionEvent
Event that is fired when a transaction is executed.

Namespace

Drupal\transaction\Event

Code

public function __construct(TransactionInterface $transaction) {
  $this->transaction = $transaction;
}