function Lock::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::__construct()
- 10 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::__construct()
- 9 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::__construct()
- 8.9.x core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::__construct()
Constructs a new Lock object.
Parameters
int $ownerId: The owner ID.
int $updated: The updated timestamp.
File
-
core/
lib/ Drupal/ Core/ TempStore/ Lock.php, line 18
Class
- Lock
- Provides a value object representing the lock from a TempStore.
Namespace
Drupal\Core\TempStoreCode
public function __construct(private $ownerId, private $updated) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.