lock

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

Class

Drupal\Core\Lock\DatabaseLockBackend

Tags

  • backend_overridable
13 string references to lock
CacheCollectorTest::testCacheCollector in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Tests setting and invalidating.
CacheCollectorTest::testDeprecatedNormalizeLockName in core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
@group legacy
CheckpointStorageTest::getConfigImporter in core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php
ConfigImporterMissingContentTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
ConfigImportRecreateTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php

... 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.