Same name in other branches
  1. 8.x-1.x src/Routing/RouteSubscriber.php \Drupal\entity_clone\Routing\RouteSubscriber::getSubscribedEvents()

Fichier

src/Routing/RouteSubscriber.php, line 89

Classe

RouteSubscriber
Subscriber for Entity Clone routes.

Namespace

Drupal\entity_clone\Routing

Code

public static function getSubscribedEvents() : array {
    $events = parent::getSubscribedEvents();
    $events[RoutingEvents::ALTER] = 'onAlterRoutes';
    return $events;
}