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

__get($name)

Allows to access deprecated/removed properties.

__construct(EntityTypeManagerInterface $entity_type_manager)

Constructs a new EntityRouteProviderSubscriber instance.

onDynamicRouteEvent(RouteBuildEvent $event)

Provides routes on route rebuild time.

static 
getSubscribedEvents()

{@inheritdoc}

Details

__get($name)

Allows to access deprecated/removed properties.

This method must be public.

Parameters

$name

__construct(EntityTypeManagerInterface $entity_type_manager)

Constructs a new EntityRouteProviderSubscriber instance.

Parameters

EntityTypeManagerInterface $entity_type_manager

The entity type manager service.

onDynamicRouteEvent(RouteBuildEvent $event)

Provides routes on route rebuild time.

Parameters

RouteBuildEvent $event

The route build event.

static getSubscribedEvents()

{@inheritdoc}