src/user/SharedTempStoreFactoryTrait.php
public function getSharedTempStoreFactory() {
    if (empty($this->sharedTempStoreFactory)) {
      $this->sharedTempStoreFactory = \Drupal::service('user.shared_tempstore');
    }
    return $this->sharedTempStoreFactory;
  }
public function getSharedTempStoreFactory() {
    if (empty($this->sharedTempStoreFactory)) {
      $this->sharedTempStoreFactory = \Drupal::service('user.shared_tempstore');
    }
    return $this->sharedTempStoreFactory;
  }
public function getSharedTempStoreFactory ( ) { if ( empty ( $ this -> sharedTempStoreFactory ) ) { $ this -> sharedTempStoreFactory = \ Drupal :: service ( 'user.shared_tempstore' ) ; } return $ this -> sharedTempStoreFactory ; }
Gets shared tempstore factory.

@return \Drupal\user\SharedTempStoreFactory
Shared tempstore factory.
Gets shared tempstore factory .