function LayoutBuilderRoutes::getSubscribedEvents
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php \Drupal\layout_builder\Routing\LayoutBuilderRoutes::getSubscribedEvents()
- 10 core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php \Drupal\layout_builder\Routing\LayoutBuilderRoutes::getSubscribedEvents()
- 11.x core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php \Drupal\layout_builder\Routing\LayoutBuilderRoutes::getSubscribedEvents()
File
-
core/
modules/ layout_builder/ src/ Routing/ LayoutBuilderRoutes.php, line 51
Class
- LayoutBuilderRoutes
- Provides routes for the Layout Builder UI.
Namespace
Drupal\layout_builder\RoutingCode
public static function getSubscribedEvents() {
// Run after \Drupal\field_ui\Routing\RouteSubscriber.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-110,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.