public function NullLockBackend::lockMayBeAvailable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\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 37 - Contains \Drupal\Core\Lock\NullLockBackend.
Class
- NullLockBackend
- Defines a Null lock backend.
Namespace
Drupal\Core\LockCode
public function lockMayBeAvailable($name) {
return TRUE;
}