public function DatabaseLockBackend::lockMayBeAvailable in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Lock/DatabaseLockBackend.php \Drupal\Core\Lock\DatabaseLockBackend::lockMayBeAvailable()
- 8 core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend::lockMayBeAvailable()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend::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/ ProxyClass/ Lock/ DatabaseLockBackend.php, line 85 - Contains \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend.
Class
- DatabaseLockBackend
- Provides a proxy class for \Drupal\Core\Lock\DatabaseLockBackend.
Namespace
Drupal\Core\ProxyClass\LockCode
public function lockMayBeAvailable($name) {
return $this
->lazyLoadItself()
->lockMayBeAvailable($name);
}