EntityRouteProviderSubscriber
class EntityRouteProviderSubscriber implements EventSubscriberInterface (View source)
Ensures that routes can be provided by entity types.
Properties
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager service. |
Methods
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs a new EntityRouteProviderSubscriber instance.
static array
getSubscribedEvents()
{@inheritdoc}
Details
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs a new EntityRouteProviderSubscriber instance.
onDynamicRouteEvent(RouteBuildEvent $event)
Provides routes on route rebuild time.
static array
getSubscribedEvents()
{@inheritdoc}