function ResourceRoutes::getSubscribedEvents
Same name in other branches
- 9 core/modules/rest/src/Routing/ResourceRoutes.php \Drupal\rest\Routing\ResourceRoutes::getSubscribedEvents()
- 8.9.x 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 141
Class
- ResourceRoutes
- Subscriber for REST-style routes.
Namespace
Drupal\rest\RoutingCode
public static function getSubscribedEvents() : array {
$events[RoutingEvents::DYNAMIC] = 'onDynamicRouteEvent';
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.