public static function RouteSubscriber::getSubscribedEvents in Layout Builder Lock 8
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 40
Class
- RouteSubscriber
- Add additional requirements for Layout builder routes.
Namespace
Drupal\layout_builder_lock\RoutingCode
public static function getSubscribedEvents() {
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-100,
];
return $events;
}