EntityRouteProviderSubscriber
class EntityRouteProviderSubscriber implements EventSubscriberInterface (View source)
Ensures that routes can be provided by entity types.
Traits
Provides a standard way to announce deprecated properties.
Properties
| protected | $deprecatedProperties | {@inheritdoc} | |
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager service. |
Methods
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs a new EntityRouteProviderSubscriber instance.
static
getSubscribedEvents()
{@inheritdoc}
Details
__get($name)
Allows to access deprecated/removed properties.
This method must be public.
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs a new EntityRouteProviderSubscriber instance.
onDynamicRouteEvent(RouteBuildEvent $event)
Provides routes on route rebuild time.
static
getSubscribedEvents()
{@inheritdoc}