You are here

public static function SessionLimit::getSubscribedEvents in Session Limit 2.x

Same name and namespace in other branches
  1. 8 src/Services/SessionLimit.php \Drupal\session_limit\Services\SessionLimit::getSubscribedEvents()

File

src/Services/SessionLimit.php, line 49

Class

SessionLimit

Namespace

Drupal\session_limit\Services

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'onKernelRequest',
    32,
  ];
  $events['session_limit.bypass'][] = [
    'onSessionLimitBypass',
  ];
  $events['session_limit.collision'][] = [
    'onSessionCollision',
  ];
  return $events;
}