function NullLockBackend::lockMayBeAvailable

Same name in other branches
  1. 9 core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::lockMayBeAvailable()
  2. 8.9.x core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::lockMayBeAvailable()
  3. 10 core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::lockMayBeAvailable()

Overrides LockBackendInterface::lockMayBeAvailable

File

core/lib/Drupal/Core/Lock/NullLockBackend.php, line 32

Class

NullLockBackend
Defines a Null lock backend.

Namespace

Drupal\Core\Lock

Code

public function lockMayBeAvailable($name) {
    return TRUE;
}

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