function BigPipeStrategy::__construct
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 99  
Class
- BigPipeStrategy
 - Defines the BigPipe placeholder strategy, to send HTML in chunks.
 
Namespace
Drupal\big_pipe\Render\PlaceholderCode
public function __construct(SessionConfigurationInterface $session_configuration, RequestStack $request_stack, RouteMatchInterface $route_match) {
  $this->sessionConfiguration = $session_configuration;
  $this->requestStack = $request_stack;
  $this->routeMatch = $route_match;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.