You are here

public static function LanguageCookieSubscriber::getSubscribedEvents in Language Cookie 8

File

src/EventSubscriber/LanguageCookieSubscriber.php, line 199

Class

LanguageCookieSubscriber
Provides a LanguageCookieSubscriber.

Namespace

Drupal\language_cookie\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::RESPONSE][] = [
    'setLanguageCookie',
    20,
  ];
  return $events;
}