BigPipeStrategy::__construct

public BigPipeStrategy::__construct(SessionConfigurationInterface $session_configuration, RequestStack $request_stack, RouteMatchInterface $route_match)

Constructs a new BigPipeStrategy class.

Parameters

\Drupal\Core\Session\SessionConfigurationInterface $session_configuration: The session configuration.

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

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

File

core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 98

Class

BigPipeStrategy
Defines the BigPipe placeholder strategy, to send HTML in chunks.

Namespace

Drupal\big_pipe\Render\Placeholder

Code

public function __construct(SessionConfigurationInterface $session_configuration, RequestStack $request_stack, RouteMatchInterface $route_match) {
  $this->sessionConfiguration = $session_configuration;
  $this->requestStack = $request_stack;
  $this->routeMatch = $route_match;
}
doc_Drupal
2016-10-29 08:46:20
Comments
Leave a Comment

Please login to continue.