You are here

public function ActionEvent::getTransaction in Library 8

Returns the kernel in which this event was thrown.

Return value

\Drupal\library\Entity\LibraryTransaction Transaction.

File

src/Event/ActionEvent.php, line 33

Class

ActionEvent
Returns available action.

Namespace

Drupal\library\Event

Code

public function getTransaction() {
  return $this->transaction;
}