You are here

public function BigPipeSessionless::setPageCacheMiddleware in Sessionless BigPipe 8

Same name and namespace in other branches
  1. 2.x src/Render/BigPipeSessionless.php \Drupal\big_pipe_sessionless\Render\BigPipeSessionless::setPageCacheMiddleware()

Sets the PageCache middleware.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $page_cache_middleware: The page cache middleware.

File

src/Render/BigPipeSessionless.php, line 41

Class

BigPipeSessionless
The sessionless BigPipe service.

Namespace

Drupal\big_pipe_sessionless\Render

Code

public function setPageCacheMiddleware(HttpKernelInterface $page_cache_middleware) {
  $this->pageCacheMiddleware = $page_cache_middleware;
}