You are here

public function ShipmentCollectionAccessCheck::__construct in Commerce Shipping 8.2

Constructs a new ShipmentCollectionAccessCheck object.

Parameters

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

File

src/Access/ShipmentCollectionAccessCheck.php, line 30

Class

ShipmentCollectionAccessCheck
Defines an access checker for the Shipment collection route.

Namespace

Drupal\commerce_shipping\Access

Code

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