You are here

public function PageCacheRequestPrepareSubscriber::prepareForRequest in Tome 8

Reacts to a collect paths event.

File

modules/tome_static/src/EventSubscriber/PageCacheRequestPrepareSubscriber.php, line 36

Class

PageCacheRequestPrepareSubscriber
Prepares for a new request when using page cache.

Namespace

Drupal\tome_static\EventSubscriber

Code

public function prepareForRequest() {
  $this->pageCache
    ->resetCache();
}