Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LockBackendInterface.php

function 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 150

Class

LockBackendInterface
Lock backend interface.

Namespace

Drupal\Core\Lock

Code

public function getLockId();
RSS feed
Powered by Drupal