function PersistentDatabaseLockBackend::acquire
Same name in other branches
- 8.9.x core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::acquire()
- 10 core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::acquire()
- 11.x core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::acquire()
Overrides LockBackendInterface::acquire
File
-
core/
lib/ Drupal/ Core/ ProxyClass/ Lock/ PersistentDatabaseLockBackend.php, line 73
Class
- PersistentDatabaseLockBackend
- Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.
Namespace
Drupal\Core\ProxyClass\LockCode
public function acquire($name, $timeout = 30.0) {
return $this->lazyLoadItself()
->acquire($name, $timeout);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.