You are here

public static function HiddenLanguageSubscriber::getSubscribedEvents in Hidden Language 2.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/HiddenLanguageSubscriber.php \Drupal\hidden_language\EventSubscriber\HiddenLanguageSubscriber::getSubscribedEvents()

File

src/EventSubscriber/HiddenLanguageSubscriber.php, line 76

Class

HiddenLanguageSubscriber

Namespace

Drupal\hidden_language\EventSubscriber

Code

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