NoSessionOpen::__construct

public NoSessionOpen::__construct(SessionConfigurationInterface $session_configuration)

Constructs a new page cache session policy.

Parameters

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

File

core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php, line 32

Class

NoSessionOpen
A policy allowing delivery of cached pages when there is no session open.

Namespace

Drupal\Core\PageCache\RequestPolicy

Code

public function __construct(SessionConfigurationInterface $session_configuration) {
  $this->sessionConfiguration = $session_configuration;
}
doc_Drupal
2016-10-29 09:32:03
Comments
Leave a Comment

Please login to continue.