function AccessRouteAlterSubscriber::getSubscribedEvents
Same name in other branches
- 11.x core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php \Drupal\system\EventSubscriber\AccessRouteAlterSubscriber::getSubscribedEvents()
File
-
core/
modules/ system/ src/ EventSubscriber/ AccessRouteAlterSubscriber.php, line 20
Class
- AccessRouteAlterSubscriber
- Alters routes to add necessary requirements.
Namespace
Drupal\system\EventSubscriberCode
public static function getSubscribedEvents() {
$events[RoutingEvents::ALTER][] = 'accessAdminMenuBlockPage';
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.