public function LockBackendInterface::getLockId in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Lock/LockBackendInterface.php \Drupal\Core\Lock\LockBackendInterface::getLockId()
- 9 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
2 methods override LockBackendInterface::getLockId()
- DatabaseLockBackend::getLockId in core/
lib/ Drupal/ Core/ ProxyClass/ Lock/ DatabaseLockBackend.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\LockCode
public function getLockId();