public function NoSessionOpen::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php \Drupal\Core\PageCache\RequestPolicy\NoSessionOpen::__construct()
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 37 - Contains \Drupal\Core\PageCache\RequestPolicy\NoSessionOpen.
Class
- NoSessionOpen
- A policy allowing delivery of cached pages when there is no session open.
Namespace
Drupal\Core\PageCache\RequestPolicyCode
public function __construct(SessionConfigurationInterface $session_configuration) {
$this->sessionConfiguration = $session_configuration;
}