public function RouteSubscriber::__construct in Convert Bundles 8
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
File
- src/
Routing/ RouteSubscriber.php, line 31
Class
- RouteSubscriber
- Subscriber for convert_bundles routes.
Namespace
Drupal\convert_bundles\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}