Drupal 8  8.0.2
EntityRouteProviderSubscriber Class Reference
Inheritance diagram for EntityRouteProviderSubscriber:

Public Member Functions

 __construct (EntityManagerInterface $entity_manager)
 
 onDynamicRouteEvent (RouteBuildEvent $event)
 

Static Public Member Functions

static getSubscribedEvents ()
 

Protected Attributes

 $entityManager
 

Detailed Description

Ensures that routes can be provided by entity types.

Constructor & Destructor Documentation

__construct ( EntityManagerInterface  $entity_manager)

Constructs a new EntityRouteProviderSubscriber instance.

Parameters
\Drupal\Core\Entity\EntityManagerInterface$entity_managerThe entity manager.

References Drupal\entityManager().

Here is the call graph for this function:

Member Function Documentation

static getSubscribedEvents ( )
static

{}

onDynamicRouteEvent ( RouteBuildEvent  $event)

Provides routes on route rebuild time.

Parameters
\Drupal\Core\Routing\RouteBuildEvent$eventThe route build event.

References Drupal\entityManager(), and RouteBuildEvent\getRouteCollection().

Here is the call graph for this function:


The documentation for this class was generated from the following file: