function Lock::getOwnerId

Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::getOwnerId()
  2. 10 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::getOwnerId()
  3. 11.x core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::getOwnerId()

Gets the owner ID.

Return value

int The owner ID.

1 call to Lock::getOwnerId()
Lock::__get in core/lib/Drupal/Core/TempStore/Lock.php
Provides backwards compatibility for using the lock as a \stdClass object.

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.