function RouteSubscriberBase::getSubscribedEvents
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RouteSubscriberBase.php \Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents()
- 10 core/lib/Drupal/Core/Routing/RouteSubscriberBase.php \Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents()
- 11.x 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/ config_translation/ src/ Routing/ 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.