You are here

public function StaticPreviewController::__construct in Tome 8

StaticPreviewForm constructor.

Parameters

\Symfony\Component\HttpFoundation\Session\Session $session: The session.

File

modules/tome_static/src/Controller/StaticPreviewController.php, line 32

Class

StaticPreviewController
Allows a user to exit a static preview.

Namespace

Drupal\tome_static\Controller

Code

public function __construct(Session $session) {
  $this->session = $session;
}