class PrivateTempStore
Same name in this branch
- 8.9.x core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
Same name in other branches
- 9 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
- 10 core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
- 11.x core/lib/Drupal/Core/TempStore/PrivateTempStore.php \Drupal\Core\TempStore\PrivateTempStore
Stores and retrieves temporary data for a given owner.
Hierarchy
- class \Drupal\Core\TempStore\PrivateTempStore uses \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\user\PrivateTempStore extends \Drupal\Core\TempStore\PrivateTempStore
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\userView source
class PrivateTempStore extends CorePrivateTempStore {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.