You are here

public static function CacheexcludeSubscriber::getSubscribedEvents in CacheExclude 8

Same name and namespace in other branches
  1. 1.0.x src/EventSubscriber/CacheexcludeSubscriber.php \Drupal\cacheexclude\EventSubscriber\CacheexcludeSubscriber::getSubscribedEvents()

File

src/EventSubscriber/CacheexcludeSubscriber.php, line 19

Class

CacheexcludeSubscriber
Class CacheexcludeSubscriber.

Namespace

Drupal\cacheexclude\EventSubscriber

Code

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