You are here

public function StaticPreviewForm::__construct in Tome 8

StaticPreviewForm constructor.

Parameters

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

File

modules/tome_static/src/Form/StaticPreviewForm.php, line 32

Class

StaticPreviewForm
Contains a form for initializing a static preview session.

Namespace

Drupal\tome_static\Form

Code

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