You are here

protected function TempstoreAwareFlexiformFormEntityManager::setTempstore in Flexiform 8

Set the tempstore.

Parameters

\Drupal\user\PrivateTempStore|\Drupal\user\SharedTempStore $tempstore: Either Drupal\user\PrivateTempStore or Drupal\user\SharedTempStore.

File

contrib/wizard/src/FormEntity/TempstoreAwareFormEntityManager.php, line 25

Class

TempstoreAwareFlexiformFormEntityManager
Provides a tempstore aware form entity manager.

Namespace

Drupal\flexiform_wizard\FormEntity

Code

protected function setTempstore($tempstore) {
  $this->tempstore = $tempstore;
}