You are here

public function TransactionPermissions::__construct in Transaction 8

MediaPermissions constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

File

src/TransactionPermissions.php, line 30

Class

TransactionPermissions
Provides dynamic permissions for transactions of different types.

Namespace

Drupal\transaction

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}