Ensures that routes can be provided by entity types.
Name | Modifiers | Type | Description |
---|---|---|---|
EntityRouteProviderSubscriber::$entityManager | protected | property | The entity manager. |
EntityRouteProviderSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
EntityRouteProviderSubscriber::onDynamicRouteEvent | public | function | Provides routes on route rebuild time. |
EntityRouteProviderSubscriber::__construct | public | function | Constructs a new EntityRouteProviderSubscriber instance. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!EntityRouteProviderSubscriber.php/class/EntityRouteProviderSubscriber/8.1.x