You are here

public function DefaultWizard::getTempstore in Flexiform 8

The active SharedTempStore for this wizard.

Return value

\Drupal\Core\TempStore\SharedTempStore

Overrides FormWizardBase::getTempstore

File

contrib/wizard/src/Wizard/DefaultWizard.php, line 113

Class

DefaultWizard
Provides a default form wizard.

Namespace

Drupal\flexiform_wizard\Wizard

Code

public function getTempstore() {
  return \Drupal::service('user.private_tempstore')
    ->get($this
    ->getTempstoreId());
}