You are here

protected function Transaction::transactorHandler in Transaction 8

Gets the transactor handler.

Return value

\Drupal\transaction\TransactorHandlerInterface The transactor entity handler.

File

src/Entity/Transaction.php, line 574

Class

Transaction
Provides the transaction content entity.

Namespace

Drupal\transaction\Entity

Code

protected function transactorHandler() {
  return $this
    ->entityTypeManager()
    ->getHandler($this
    ->getEntityTypeId(), 'transactor');
}