service lock in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \lock
- 9 core/core.services.yml \lock
Class
Drupal\Core\Lock\DatabaseLockBackendTags
- 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::register in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheCollectorTest.php - Registers test-specific services.
- CacheCollectorTest::testCacheCollector in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheCollectorTest.php - Tests setting and invalidating.
- CommentLockTest::testLocks in core/
modules/ comment/ tests/ src/ Unit/ Entity/ CommentLockTest.php - Tests the lock behavior.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Lock\DatabaseLockBackend
- arguments:
- - '@database'
- tags:
- - { name: backend_overridable }
- lazy: true