You are here

public function NullLockBackend::lockMayBeAvailable in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::lockMayBeAvailable()

Implements Drupal\Core\Lock\LockBackedInterface::lockMayBeAvailable().

Overrides LockBackendInterface::lockMayBeAvailable

File

lib/Drupal/Core/Lock/NullLockBackend.php, line 37
Contains \Drupal\Core\Lock\NullLockBackend.

Class

NullLockBackend
Defines a Null lock backend.

Namespace

Drupal\Core\Lock

Code

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