You are here

public static function Redirect404Subscriber::getSubscribedEvents in Redirect 8

File

modules/redirect_404/src/EventSubscriber/Redirect404Subscriber.php, line 91

Class

Redirect404Subscriber
An EventSubscriber that listens to redirect 404 errors.

Namespace

Drupal\redirect_404\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::EXCEPTION][] = 'onKernelException';
  return $events;
}