function LockBackendInterface::release

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::release()
  2. 10 core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::release()
  3. 11.x core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::release()

Releases the given lock.

Parameters

string $name: The lock name.

4 methods override LockBackendInterface::release()
DatabaseLockBackend::release in core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php
Releases the given lock.
DatabaseLockBackend::release in core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
Releases the given lock.
NullLockBackend::release in core/lib/Drupal/Core/Lock/NullLockBackend.php
Releases the given lock.
PersistentDatabaseLockBackend::release in core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
Releases the given lock.

File

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

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function release($name);

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