function LockBackendInterface::release
Same name in other branches
- 9 core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::release()
- 8.9.x core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::release()
- 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\LockCode
public function release($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.