You are here

public function LockBackendInterface::releaseAll in Service Container 7

Same name and namespace in other branches
  1. 7.2 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.

2 methods override LockBackendInterface::releaseAll()
DatabaseLockBackend::releaseAll in lib/Drupal/Core/Lock/DatabaseLockBackend.php
Implements Drupal\Core\Lock\LockBackedInterface::releaseAll().
NullLockBackend::releaseAll in lib/Drupal/Core/Lock/NullLockBackend.php
Implements Drupal\Core\Lock\LockBackedInterface::releaseAll().

File

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);