public static function ResourceRoutes::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 8 core/modules/rest/src/Routing/ResourceRoutes.php \Drupal\rest\Routing\ResourceRoutes::getSubscribedEvents()
- 10 core/modules/rest/src/Routing/ResourceRoutes.php \Drupal\rest\Routing\ResourceRoutes::getSubscribedEvents()
File
- core/
modules/ rest/ src/ Routing/ ResourceRoutes.php, line 143
Class
- ResourceRoutes
- Subscriber for REST-style routes.
Namespace
Drupal\rest\RoutingCode
public static function getSubscribedEvents() {
$events[RoutingEvents::DYNAMIC] = 'onDynamicRouteEvent';
return $events;
}