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\EventSubscriberCode
public function prepareForRequest() {
$this->pageCache
->resetCache();
}