You are here

public static function PagesRestrictionSubscriber::getSubscribedEvents in Pages Restriction Access 8

File

src/Event/PagesRestrictionSubscriber.php, line 180

Class

PagesRestrictionSubscriber
Default class for Subscriber.

Namespace

Drupal\pages_restriction\Event

Code

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