BookNavigationCacheContext::__construct

public BookNavigationCacheContext::__construct(RequestStack $request_stack)

Constructs a new BookNavigationCacheContext service.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

File

core/modules/book/src/Cache/BookNavigationCacheContext.php, line 40

Class

BookNavigationCacheContext
Defines the book navigation cache context service.

Namespace

Drupal\book\Cache

Code

1
2
3
public function __construct(RequestStack $request_stack) {
  $this->requestStack = $request_stack;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.