You are here

public static function TokenGetter::getSubscribedEvents in Access unpublished 8

File

src/TokenGetter.php, line 72

Class

TokenGetter
Service to handle the current token.

Namespace

Drupal\access_unpublished

Code

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