You are here

public static function RouteSubscriber::getSubscribedEvents in Schema.org configuration tool (RDF UI) 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 37

Class

RouteSubscriber
Subscriber for RDF UI routes.

Namespace

Drupal\rdfui\Routing

Code

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