public function NullLockBackend::acquire in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/Lock/NullLockBackend.php \Drupal\Core\Lock\NullLockBackend::acquire()
Implements Drupal\Core\Lock\LockBackedInterface::acquire().
Overrides LockBackendInterface::acquire
File
- lib/
Drupal/ Core/ Lock/ NullLockBackend.php, line 30 - Contains \Drupal\Core\Lock\NullLockBackend.
Class
- NullLockBackend
- Defines a Null lock backend.
Namespace
Drupal\Core\LockCode
public function acquire($name, $timeout = 30.0) {
return TRUE;
}