public static function EntityRouteProviderSubscriber::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 8 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() {
$events[RoutingEvents::DYNAMIC][] = [
'onDynamicRouteEvent',
];
return $events;
}