SharedTempStoreFactory::$currentUser

Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php \Drupal\Core\TempStore\SharedTempStoreFactory::currentUser
  2. 10 core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php \Drupal\Core\TempStore\SharedTempStoreFactory::currentUser

The current user.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php, line 42

Class

SharedTempStoreFactory
Creates a shared temporary storage for a collection.

Namespace

Drupal\Core\TempStore

Code

protected $currentUser;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.