public static function RouteSubscriberBase::getSubscribedEvents in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/RouteSubscriberBase.php \Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents()
- 9 core/lib/Drupal/Core/Routing/RouteSubscriberBase.php \Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents()
4 methods override RouteSubscriberBase::getSubscribedEvents()
- AdminRouteSubscriber::getSubscribedEvents in core/
modules/ system/ src/ EventSubscriber/ AdminRouteSubscriber.php - ContentTranslationRouteSubscriber::getSubscribedEvents in core/
modules/ content_translation/ src/ Routing/ ContentTranslationRouteSubscriber.php - RouteSubscriber::getSubscribedEvents in core/
modules/ config_translation/ src/ Routing/ RouteSubscriber.php - RouteSubscriber::getSubscribedEvents in core/
modules/ field_ui/ 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() : array {
$events[RoutingEvents::ALTER] = 'onAlterRoutes';
return $events;
}