public static function EntityRouteProviderSubscriber::getSubscribedEvents in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php \Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber::getSubscribedEvents()
- 10 core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php \Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ EntityRouteProviderSubscriber.php, line 79
Class
- EntityRouteProviderSubscriber
- Ensures that routes can be provided by entity types.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() {
$events[RoutingEvents::DYNAMIC][] = [
'onDynamicRouteEvent',
];
return $events;
}