function Lock::getUpdated

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

Gets the timestamp of the last update to the lock.

Return value

int The updated timestamp.

File

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

Class

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

Namespace

Drupal\Core\TempStore

Code

public function getUpdated() {
    return $this->updated;
}

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