Same name in other branches
- 8.x-1.x src/Routing/RouteSubscriber.php \Drupal\entity_clone\Routing\RouteSubscriber::getSubscribedEvents()
File
-
src/
Routing/ RouteSubscriber.php, line 89
Class
- RouteSubscriber
- Subscriber for Entity Clone routes.
Namespace
Drupal\entity_clone\RoutingCode
public static function getSubscribedEvents() : array {
$events = parent::getSubscribedEvents();
$events[RoutingEvents::ALTER] = 'onAlterRoutes';
return $events;
}