You are here

public function ShipmentPermissionProvider::__construct in Commerce Shipping 8.2

Constructs a new ShipmentPermissionProvider object.

Parameters

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

File

src/ShipmentPermissionProvider.php, line 32

Class

ShipmentPermissionProvider
Provides permissions for shipments.

Namespace

Drupal\commerce_shipping

Code

public function __construct(EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}