function EntityRouteProviderSubscriber::getSubscribedEvents
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php \Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber::getSubscribedEvents()
- 8.9.x 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 65
Class
- EntityRouteProviderSubscriber
- Ensures that routes can be provided by entity types.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[RoutingEvents::DYNAMIC][] = [
'onDynamicRouteEvent',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.