You are here

public function LockBackendInterface::getLockId in Service Container 7

Same name and namespace in other branches
  1. 7.2 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

2 methods override LockBackendInterface::getLockId()
LockBackendAbstract::getLockId in lib/Drupal/Core/Lock/LockBackendAbstract.php
Implements Drupal\Core\Lock\LockBackedInterface::getLockId().
NullLockBackend::getLockId in lib/Drupal/Core/Lock/NullLockBackend.php
Implements Drupal\Core\Lock\LockBackedInterface::getLockId().

File

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();