lock.persistent

Same name and namespace in other branches
  1. 11.x core/core.services.yml \lock.persistent
  2. 10 core/core.services.yml \lock.persistent
  3. 9 core/core.services.yml \lock.persistent
  4. 8.9.x core/core.services.yml \lock.persistent

Class

Drupal\Core\Lock\PersistentDatabaseLockBackend

Tags

  • backend_overridable
2 string references to lock.persistent
ControllerBaseTest::testCreate in core/tests/Drupal/KernelTests/Core/Controller/ControllerBaseTest.php
Tests create.
LockFunctionalTest::testPersistentLock in core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php
Tests that the persistent lock is persisted between requests.

File

core/core.services.yml

View source
  1. class: Drupal\Core\Lock\PersistentDatabaseLockBackend
  2. arguments:
  3. - '@database'
  4. tags:
  5. - { name: backend_overridable }
  6. lazy: true

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