You are here

public function SessionWorkspaceNegotiator::__construct in Multiversion 8

Constructor.

Parameters

\Drupal\user\PrivateTempStoreFactory $tempstore_factory:

File

src/Workspace/SessionWorkspaceNegotiator.php, line 21

Class

SessionWorkspaceNegotiator

Namespace

Drupal\multiversion\Workspace

Code

public function __construct(PrivateTempStoreFactory $tempstore_factory) {
  $this->tempstore = $tempstore_factory
    ->get('workspace.negotiator.session');
}