Search for store

  1. Search 7.x for store
  2. Search 9.5.x for store
  3. Search 10.3.x for store
  4. Search 11.x for store
  5. Other projects
Title Object type File name Summary
SharedTempStore::deleteIfOwner function core/lib/Drupal/Core/TempStore/SharedTempStore.php Deletes data from the store for a given key and releases the lock on it.
SharedTempStore::get function core/lib/Drupal/Core/TempStore/SharedTempStore.php Retrieves a value from this SharedTempStore for a given key.
SharedTempStore::getIfOwner function core/lib/Drupal/Core/TempStore/SharedTempStore.php Retrieves a value from this SharedTempStore for a given key.
SharedTempStore::getMetadata function core/lib/Drupal/Core/TempStore/SharedTempStore.php Returns the metadata associated with a particular key/value pair.
SharedTempStore::set function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores a particular key/value pair in this SharedTempStore.
SharedTempStore::setIfNotExists function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores a particular key/value pair only if the key doesn't already exist.
SharedTempStore::setIfOwner function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores a particular key/value pair in this SharedTempStore.
SharedTempStore::__construct function core/lib/Drupal/Core/TempStore/SharedTempStore.php Constructs a new object for accessing data from a key/value store.
SharedTempStoreFactory class core/modules/user/src/SharedTempStoreFactory.php Creates a shared temporary storage for a collection.
SharedTempStoreFactory class core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Creates a shared temporary storage for a collection.
SharedTempStoreFactory.php file core/modules/user/src/SharedTempStoreFactory.php
SharedTempStoreFactory.php file core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php
SharedTempStoreFactory::$expire property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The time to live for items in seconds.
SharedTempStoreFactory::$lockBackend property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The lock object used for this data.
SharedTempStoreFactory::$requestStack property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The request stack.
SharedTempStoreFactory::$storageFactory property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The storage factory creating the backend to store the data.
SharedTempStoreFactory::get function core/modules/user/src/SharedTempStoreFactory.php Creates a SharedTempStore for the current user or anonymous session.
SharedTempStoreFactory::get function core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Creates a SharedTempStore for the current user or anonymous session.
SharedTempStoreFactory::__construct function core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Constructs a Drupal\Core\TempStore\SharedTempStoreFactory object.
SharedTempStoreTest class core/modules/user/tests/src/Unit/SharedTempStoreTest.php @coversDefaultClass \Drupal\user\SharedTempStore
@group user
@group legacy
@runTestsInSeparateProcesses
@preserveGlobalState disabled
SharedTempStoreTest class core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @coversDefaultClass \Drupal\Core\TempStore\SharedTempStore
@group TempStore
SharedTempStoreTest.php file core/modules/user/tests/src/Unit/SharedTempStoreTest.php
SharedTempStoreTest.php file core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
SharedTempStoreTest::$keyValue property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The mock key value expirable backend.
SharedTempStoreTest::$keyValue property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The mock key value expirable backend.
SharedTempStoreTest::$lock property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The mock lock backend.
SharedTempStoreTest::$lock property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The mock lock backend.
SharedTempStoreTest::$otherObject property core/modules/user/tests/src/Unit/SharedTempStoreTest.php A tempstore object not belonging to the owner.
SharedTempStoreTest::$otherObject property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php A tempstore object not belonging to the owner.
SharedTempStoreTest::$owner property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The owner used in this test.
SharedTempStoreTest::$owner property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The owner used in this test.
SharedTempStoreTest::$ownObject property core/modules/user/tests/src/Unit/SharedTempStoreTest.php A tempstore object belonging to the owner.
SharedTempStoreTest::$ownObject property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php A tempstore object belonging to the owner.
SharedTempStoreTest::$requestStack property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The request stack.
SharedTempStoreTest::$requestStack property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The request stack.
SharedTempStoreTest::$tempStore property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The user temp store.
SharedTempStoreTest::$tempStore property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The temp store.
SharedTempStoreTest::setUp function core/modules/user/tests/src/Unit/SharedTempStoreTest.php
SharedTempStoreTest::setUp function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
SharedTempStoreTest::testDelete function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the delete() method.
SharedTempStoreTest::testDelete function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the delete() method.
SharedTempStoreTest::testDeleteIfOwner function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the deleteIfOwner() method.
SharedTempStoreTest::testDeleteIfOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the deleteIfOwner() method.
SharedTempStoreTest::testDeleteWithNoLockAvailable function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the delete() method with no lock available.
SharedTempStoreTest::testDeleteWithNoLockAvailable function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the delete() method with no lock available.
SharedTempStoreTest::testGet function core/modules/user/tests/src/Unit/SharedTempStoreTest.php @covers ::get
@expectedDeprecation \Drupal\user\SharedTempStore is scheduled for removal in Drupal 9.0.0. Use \Drupal\Core\TempStore\SharedTempStore instead. See https://www.drupal.org/node/2935639.
SharedTempStoreTest::testGet function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @covers ::get
SharedTempStoreTest::testGetIfOwner function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the getIfOwner() method.
SharedTempStoreTest::testGetIfOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the getIfOwner() method.
SharedTempStoreTest::testGetMetadata function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the getMetadata() method.

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