You are here

public static function RequestSubscriber::getSubscribedEvents in Content Translation Redirect 8

File

src/EventSubscriber/RequestSubscriber.php, line 128

Class

RequestSubscriber
Redirect subscriber for controller requests.

Namespace

Drupal\content_translation_redirect\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'onRequestCheckRedirect',
  ];
  return $events;
}