public function ProductVariationCollectionAccessCheck::__construct in Commerce Core 8.2
Constructs a new ProductVariationCollectionAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- modules/
product/ src/ Access/ ProductVariationCollectionAccessCheck.php, line 33
Class
- ProductVariationCollectionAccessCheck
- Defines an access checker for the product variation collection route.
Namespace
Drupal\commerce_product\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}