function NullLockBackend::acquire
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::acquire()
- 10 core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::acquire()
- 11.x core/lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::acquire()
Overrides LockBackendInterface::acquire
File
-
core/
lib/ Drupal/ Core/ Lock/ NullLockBackend.php, line 25
Class
- NullLockBackend
- Defines a Null lock backend.
Namespace
Drupal\Core\LockCode
public function acquire($name, $timeout = 30.0) {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.