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