public function RouteSubscriber::__construct in Commerce AutoSKU 8.2
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Routing/ RouteSubscriber.php, line 35 - Contains \Drupal\commerce_autosku\Routing\RouteSubscriber.
Class
- RouteSubscriber
- Subscriber for commerce_autosku routes.
Namespace
Drupal\commerce_autosku\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}