You are here

public function LockBackendInterface::getLockId in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::getLockId()

Gets the unique page token for locks.

Locks will be wiped out at the end of each page request on a token basis.

Return value

string

4 methods override LockBackendInterface::getLockId()
DatabaseLockBackend::getLockId in core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php
Gets the unique page token for locks.
LockBackendAbstract::getLockId in core/lib/Drupal/Core/Lock/LockBackendAbstract.php
Gets the unique page token for locks.
NullLockBackend::getLockId in core/lib/Drupal/Core/Lock/NullLockBackend.php
Gets the unique page token for locks.
PersistentDatabaseLockBackend::getLockId in core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
Gets the unique page token for locks.

File

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

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function getLockId();