You are here

public static function RequestSubscriber::getSubscribedEvents in Persistent URL 8

File

src/Event/RequestSubscriber.php, line 57

Class

RequestSubscriber
ALTERNATIVE APPROACH IS ENCAPSULATE METHOD PLUGIN LOGIC WITH A PATH PROCESSOR, AND DO MOST LOGIC WITHIN THE CONFINES OF Symfony\(Cmf\)?Routing

Namespace

Drupal\purl\Event

Code

public static function getSubscribedEvents() {
  return array(
    // RouterListener comes in at 32. We need to go before it.
    KernelEvents::REQUEST => array(
      'onRequest',
      50,
    ),
  );
}