public EntityRouteProviderSubscriber::__construct(EntityManagerInterface $entity_manager)
Constructs a new EntityRouteProviderSubscriber instance.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php, line 29
Class
- EntityRouteProviderSubscriber
- Ensures that routes can be provided by entity types.
Namespace
Drupal\Core\EventSubscriber
Code
1 2 3 | public function __construct(EntityManagerInterface $entity_manager ) { $this ->entityManager = $entity_manager ; } |
Please login to continue.