You are here

public function Lock::getOwnerId in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::getOwnerId()
  2. 9 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::getOwnerId()

Gets the owner ID.

Return value

int The owner ID.

File

core/lib/Drupal/Core/TempStore/Lock.php, line 43

Class

Lock
Provides a value object representing the lock from a TempStore.

Namespace

Drupal\Core\TempStore

Code

public function getOwnerId() {
  return $this->ownerId;
}