public static function RouteSubscriberBase::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/RouteSubscriberBase.php \Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents()
6 calls to RouteSubscriberBase::getSubscribedEvents()
- AdminRouteSubscriber::getSubscribedEvents in core/
modules/ system/ src/ EventSubscriber/ AdminRouteSubscriber.php - ContentModerationRouteSubscriber::getSubscribedEvents in core/
modules/ content_moderation/ src/ Routing/ ContentModerationRouteSubscriber.php - ContentTranslationRouteSubscriber::getSubscribedEvents in core/
modules/ content_translation/ src/ Routing/ ContentTranslationRouteSubscriber.php - NodeAdminRouteSubscriber::getSubscribedEvents in core/
modules/ node/ src/ EventSubscriber/ NodeAdminRouteSubscriber.php - RouteSubscriber::getSubscribedEvents in core/
modules/ views/ src/ EventSubscriber/ RouteSubscriber.php
7 methods override RouteSubscriberBase::getSubscribedEvents()
- AdminRouteSubscriber::getSubscribedEvents in core/
modules/ system/ src/ EventSubscriber/ AdminRouteSubscriber.php - ContentModerationRouteSubscriber::getSubscribedEvents in core/
modules/ content_moderation/ src/ Routing/ ContentModerationRouteSubscriber.php - ContentTranslationRouteSubscriber::getSubscribedEvents in core/
modules/ content_translation/ src/ Routing/ ContentTranslationRouteSubscriber.php - NodeAdminRouteSubscriber::getSubscribedEvents in core/
modules/ node/ src/ EventSubscriber/ NodeAdminRouteSubscriber.php - RouteSubscriber::getSubscribedEvents in core/
modules/ views/ src/ EventSubscriber/ RouteSubscriber.php
File
- core/
lib/ Drupal/ Core/ Routing/ RouteSubscriberBase.php, line 24
Class
- RouteSubscriberBase
- Provides a base implementation for RouteSubscriber.
Namespace
Drupal\Core\RoutingCode
public static function getSubscribedEvents() {
$events[RoutingEvents::ALTER] = 'onAlterRoutes';
return $events;
}