You are here

public static function AliasSubscriber::getSubscribedEvents in Mini site 8

File

src/EventSubscriber/AliasSubscriber.php, line 52

Class

AliasSubscriber
Class AliasSubscriber.

Namespace

Drupal\minisite\EventSubscriber

Code

public static function getSubscribedEvents() {

  // The RouterListener has priority 32, and we need to run before that
  // because we are assessing raw URL path (we do not have a route for
  // asset aliases).
  $events[KernelEvents::REQUEST][] = [
    'onRequestSetController',
    33,
  ];
  return $events;
}