function CacheTagPreloadSubscriber::getSubscribedEvents
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Cache/EventSubscriber/CacheTagPreloadSubscriber.php \Drupal\Core\Cache\EventSubscriber\CacheTagPreloadSubscriber::getSubscribedEvents()
File
-
core/
lib/ Drupal/ Core/ Cache/ EventSubscriber/ CacheTagPreloadSubscriber.php, line 47
Class
- CacheTagPreloadSubscriber
- Preloads frequently used cache tags.
Namespace
Drupal\Core\Cache\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[KernelEvents::REQUEST][] = [
'onRequest',
500,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.