public function RouteSubscriber::__construct in Automatic Entity Label 8.3
Same name and namespace in other branches
- 8 src/Routing/RouteSubscriber.php \Drupal\auto_entitylabel\Routing\RouteSubscriber::__construct()
- 8.2 src/Routing/RouteSubscriber.php \Drupal\auto_entitylabel\Routing\RouteSubscriber::__construct()
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Routing/ RouteSubscriber.php, line 30
Class
- RouteSubscriber
- Subscriber for auto_entitylabel routes.
Namespace
Drupal\auto_entitylabel\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}