You are here

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\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[TomeStaticEvents::REQUEST_PREPARE][] = [
    'prepareForRequest',
  ];
  return $events;
}