public static function PageCacheRequestPrepareSubscriber::getSubscribedEvents in Tome 8
File
- modules/
tome_static/ src/ EventSubscriber/ PageCacheRequestPrepareSubscriber.php, line 43
Class
- PageCacheRequestPrepareSubscriber
- Prepares for a new request when using page cache.
Namespace
Drupal\tome_static\EventSubscriberCode
public static function getSubscribedEvents() {
$events[TomeStaticEvents::REQUEST_PREPARE][] = [
'prepareForRequest',
];
return $events;
}