function NullLockBackend::lockMayBeAvailable
Checks if a lock is available for acquiring.
Parameters
string $name: Lock to acquire.
Return value
bool
Overrides LockBackendInterface::lockMayBeAvailable
File
- 
              core/
lib/ Drupal/ Core/ Lock/ NullLockBackend.php, line 32  
Class
- NullLockBackend
 - Defines a Null lock backend.
 
Namespace
Drupal\Core\LockCode
public function lockMayBeAvailable($name) {
  return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.