You are here

public function DatabaseLockBackend::getLockId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend::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

Overrides LockBackendInterface::getLockId

File

core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php, line 117
Contains \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend.

Class

DatabaseLockBackend
Provides a proxy class for \Drupal\Core\Lock\DatabaseLockBackend.

Namespace

Drupal\Core\ProxyClass\Lock

Code

public function getLockId() {
  return $this
    ->lazyLoadItself()
    ->getLockId();
}