lock

Same name in other branches
  1. 8.9.x core/core.services.yml \lock
  2. 10 core/core.services.yml \lock

Class

Drupal\Core\Lock\DatabaseLockBackend

Tags

  • backend_overridable
21 string references to lock
AliasTest::testWhitelist in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests the alias whitelist.
AliasTest::testWhitelistCacheDeletionMidRequest in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests situation where the whitelist cache is deleted mid-request.
CacheCollectorTest::testCacheCollector in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Tests setting and invalidating.
CKEditor5ImageController::create in core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php
Instantiates a new instance of this class.
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Tests the lock behavior.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Lock\DatabaseLockBackend
  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.