tempstore.shared

Same name and namespace in other branches
  1. 9 core/core.services.yml \tempstore.shared
  2. 8.9.x core/core.services.yml \tempstore.shared
  3. 10 core/core.services.yml \tempstore.shared

Class

Drupal\Core\TempStore\SharedTempStoreFactory

Tags

  • backend_overridable
8 string references to tempstore.shared
ApiController::create in core/modules/package_manager/tests/modules/package_manager_test_api/src/ApiController.php
Instantiates a new instance of the implementing class using autowiring.
BreakLockForm::create in core/modules/views_ui/src/Form/BreakLockForm.php
Instantiates a new instance of this class.
PackageManagerKernelTestBase::createStage in core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
Creates a stage object for testing purposes.
SandboxManagerBaseTest::testStoreDestroyInfo in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests exceptions thrown because of previously destroyed stage.
SandboxManagerBaseTest::testTempStoreMessageExpired in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests exception message once temp store message has expired.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\TempStore\SharedTempStoreFactory
  2. arguments:
  3. - '@keyvalue.expirable'
  4. - '@lock'
  5. - '@request_stack'
  6. - '@current_user'
  7. - '%tempstore.expire%'
  8. tags:
  9. - { name: backend_overridable }

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