You are here

public function PriceListItemPermissionProvider::__construct in Commerce Pricelist 8

Constructs a new PriceListItemPermissionProvider object.

Parameters

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

File

src/PriceListItemPermissionProvider.php, line 32

Class

PriceListItemPermissionProvider
Provides permissions for price list items.

Namespace

Drupal\commerce_pricelist

Code

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