SharedTempStore::$currentUser

Same name in other branches
  1. 10 core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::currentUser
  2. 11.x core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::currentUser

The current user.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/lib/Drupal/Core/TempStore/SharedTempStore.php, line 77

Class

SharedTempStore
Stores and retrieves temporary data for a given owner.

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.