public function RouteSubscriber::__construct in Menu Link Clone 8.2
Same name and namespace in other branches
- 8.3 src/Routing/RouteSubscriber.php \Drupal\menu_link_clone\Routing\RouteSubscriber::__construct()
- 8 src/Routing/RouteSubscriber.php \Drupal\menu_link_clone\Routing\RouteSubscriber::__construct()
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
File
- src/
Routing/ RouteSubscriber.php, line 26
Class
- RouteSubscriber
- Listens to the dynamic route events.
Namespace
Drupal\menu_link_clone\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}