You are here

public function LockBackendInterface::releaseAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::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.

5 methods override LockBackendInterface::releaseAll()
DatabaseLockBackend::releaseAll in core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php
Releases all locks for the given lock token identifier.
DatabaseLockBackend::releaseAll in core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
Releases all locks for the given lock token identifier.
MemcacheLockBackend::releaseAll in modules/memcache/src/MemcacheLockBackend.php
Releases all locks for the given lock token identifier.
NullLockBackend::releaseAll in core/lib/Drupal/Core/Lock/NullLockBackend.php
Releases all locks for the given lock token identifier.
PersistentDatabaseLockBackend::releaseAll in core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
Releases all locks for the given lock token identifier.

File

core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 126
Contains \Drupal\Core\Lock\LockBackendInterface.

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function releaseAll($lockId = NULL);