SharedTempStore::$currentUser

Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/SharedTempStore.php \Drupal\Core\TempStore\SharedTempStore::currentUser
  2. 10 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.