public static function CacheexcludeSubscriber::getSubscribedEvents in CacheExclude 8
Same name and namespace in other branches
- 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\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'disableCacheForPage',
];
return $events;
}