function MenuLinksetRoutes::getSubscribedEvents
Same name in other branches
- 11.x core/modules/system/src/Routing/MenuLinksetRoutes.php \Drupal\system\Routing\MenuLinksetRoutes::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
-
core/
modules/ system/ src/ Routing/ MenuLinksetRoutes.php, line 70
Class
- MenuLinksetRoutes
- Dynamically defines routes for menu linkset endpoints.
Namespace
Drupal\system\RoutingCode
public static function getSubscribedEvents() : array {
$events = parent::getSubscribedEvents();
// Run after the route alter event subscriber.
$events[ConfigEvents::SAVE][] = [
'onConfigSave',
0,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.