You are here

public function ProductVariationPermissionProvider::__construct in Commerce Core 8.2

Constructs a new ProductVariationPermissionProvider object.

Parameters

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

File

modules/product/src/ProductVariationPermissionProvider.php, line 32

Class

ProductVariationPermissionProvider
Provides permissions for product variations.

Namespace

Drupal\commerce_product

Code

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