public static function LayoutBuilderRoutes::getSubscribedEvents in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Routing/LayoutBuilderRoutes.php \Drupal\layout_builder\Routing\LayoutBuilderRoutes::getSubscribedEvents()
- 9 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() : array {
// Run after \Drupal\field_ui\Routing\RouteSubscriber.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-110,
];
return $events;
}