You are here

public function WishlistItemPermissionProvider::__construct in Commerce Wishlist 8.3

Constructs a new WishlistItemPermissionProvider object.

Parameters

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

File

src/WishlistItemPermissionProvider.php, line 32

Class

WishlistItemPermissionProvider
Provides permissions for wishlist items.

Namespace

Drupal\commerce_wishlist

Code

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