public function DatabaseLockBackend::releaseAll in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Lock/DatabaseLockBackend.php \Drupal\Core\Lock\DatabaseLockBackend::releaseAll()
- 9 core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend::releaseAll()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend::releaseAll()
Releases all locks for the given lock token identifier.
Parameters
string $lockId: (optional) If none given, remove all locks from the current page. Defaults to NULL.
Overrides LockBackendInterface::releaseAll
File
- core/
lib/ Drupal/ Core/ ProxyClass/ Lock/ DatabaseLockBackend.php, line 97
Class
- DatabaseLockBackend
- Provides a proxy class for \Drupal\Core\Lock\DatabaseLockBackend.
Namespace
Drupal\Core\ProxyClass\LockCode
public function releaseAll($lock_id = NULL) {
return $this
->lazyLoadItself()
->releaseAll($lock_id);
}