You are here

public function PreviewLinkSessionExistsAccessCheck::__construct in Preview Link 2.0.x

Same name and namespace in other branches
  1. 2.x src/Access/PreviewLinkSessionExistsAccessCheck.php \Drupal\preview_link\Access\PreviewLinkSessionExistsAccessCheck::__construct()

Constructs a new PreviewLinkSessionExistsAccessCheck.

Parameters

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

File

src/Access/PreviewLinkSessionExistsAccessCheck.php, line 31

Class

PreviewLinkSessionExistsAccessCheck
Checks whether the user has a session.

Namespace

Drupal\preview_link\Access

Code

public function __construct(SessionConfigurationInterface $sessionConfiguration) {
  $this->sessionConfiguration = $sessionConfiguration;
}