public NullLockBackend::lockMayBeAvailable($name)
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\Lock
Code
public function lockMayBeAvailable($name) { return TRUE; }
Please login to continue.