You are here

public function InvoiceOrderAccessCheck::__construct in Commerce Invoice 8.2

Constructs a new InvoiceOrderAccessCheck object.

Parameters

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

File

src/Access/InvoiceOrderAccessCheck.php, line 30

Class

InvoiceOrderAccessCheck
Defines an access checker for the Order invoices route.

Namespace

Drupal\commerce_invoice\Access

Code

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