Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LockBackendInterface.php

function 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.

4 methods override LockBackendInterface::releaseAll()
DatabaseLockBackend::releaseAll in core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
Releases all locks for the given lock token identifier.
DatabaseLockBackend::releaseAll in core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.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 141

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function releaseAll($lockId = NULL);
RSS feed
Powered by Drupal