function LockBackendInterface::releaseAll

Same name in other branches
  1. 9 core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::releaseAll()
  2. 8.9.x core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::releaseAll()
  3. 10 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
DatabaseLockBackend::releaseAll in core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
NullLockBackend::releaseAll in core/lib/Drupal/Core/Lock/NullLockBackend.php
PersistentDatabaseLockBackend::releaseAll in core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
StubLockBackendAbstract::releaseAll in core/tests/Drupal/Tests/Core/Lock/StubLockBackendAbstract.php

File

core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 141

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function releaseAll($lockId = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.