LocaleLookup::$lock

Same name in other branches
  1. 9 core/modules/locale/src/LocaleLookup.php \Drupal\locale\LocaleLookup::lock
  2. 8.9.x core/modules/locale/src/LocaleLookup.php \Drupal\locale\LocaleLookup::lock
  3. 11.x core/modules/locale/src/LocaleLookup.php \Drupal\locale\LocaleLookup::lock

The lock backend that should be used.

Type: \Drupal\Core\Lock\LockBackendInterface

Overrides CacheCollector::$lock

File

core/modules/locale/src/LocaleLookup.php, line 51

Class

LocaleLookup
A cache collector to allow for dynamic building of the locale cache.

Namespace

Drupal\locale

Code

protected $lock;

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