You are here

public function OrderItemPermissionProvider::__construct in Commerce Core 8.2

Constructs a new OrderItemPermissionProvider object.

Parameters

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

File

modules/order/src/OrderItemPermissionProvider.php, line 32

Class

OrderItemPermissionProvider
Provides permissions for order items.

Namespace

Drupal\commerce_order

Code

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