class PrivateTempStore

Same name in this branch
  1. 8.9.x core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
  2. 10 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
  3. 11.x core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore

Stores and retrieves temporary data for a given owner.

Hierarchy

Expanded class hierarchy of PrivateTempStore

Deprecated

in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\Core\TempStore\PrivateTempStore instead.

See also

\Drupal\Core\TempStore\PrivateTempStore

https://www.drupal.org/node/2935639

1 file declares its use of PrivateTempStore
PrivateTempStoreTest.php in core/modules/user/tests/src/Unit/PrivateTempStoreTest.php

File

core/modules/user/src/PrivateTempStore.php, line 25

Namespace

Drupal\user
View source
class PrivateTempStore extends CorePrivateTempStore {

}

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