You are here

public function LockBackendInterface::getLockId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 135
Contains \Drupal\Core\Lock\LockBackendInterface.

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function getLockId();