public function PersistentDatabaseLockBackend::releaseAll in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::releaseAll()
- 9 core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::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/ PersistentDatabaseLockBackend.php, line 97
Class
- PersistentDatabaseLockBackend
- Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.
Namespace
Drupal\Core\ProxyClass\LockCode
public function releaseAll($lock_id = NULL) {
return $this
->lazyLoadItself()
->releaseAll($lock_id);
}