You are here

public function PersistentDatabaseLockBackend::getLockId in Drupal driver for SQL Server and SQL Azure 8.2

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

src/ProxyClass/Lock/PersistentDatabaseLockBackend.php, line 116
Contains \Drupal\sqlsrv\ProxyClass\Lock\PersistentCouchbaseLockBackend.

Class

PersistentDatabaseLockBackend
Provides a proxy class for \Drupal\couchbase\Lock\CouchbaseLockBackend.

Namespace

Drupal\sqlsrv\ProxyClass\Lock

Code

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