You are here

public static function EntityLegalSubscriber::getSubscribedEvents in Entity Legal 4.0.x

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/EntityLegalSubscriber.php \Drupal\entity_legal\EventSubscriber\EntityLegalSubscriber::getSubscribedEvents()
  2. 3.0.x src/EventSubscriber/EntityLegalSubscriber.php \Drupal\entity_legal\EventSubscriber\EntityLegalSubscriber::getSubscribedEvents()

File

src/EventSubscriber/EntityLegalSubscriber.php, line 34

Class

EntityLegalSubscriber
Class EntityLegalSubscriber.

Namespace

Drupal\entity_legal\EventSubscriber

Code

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