public function TreeLockTrait::setLockBackend in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x src/Storage/TreeLockTrait.php \Drupal\entity_hierarchy\Storage\TreeLockTrait::setLockBackend()
Sets lock backend.
Parameters
\Drupal\Core\Lock\LockBackendInterface $lockBackend: Lock backend.
Return value
$this
File
- src/
Storage/ TreeLockTrait.php, line 40
Class
- TreeLockTrait
- Defines a trait for locking tree operations.
Namespace
Drupal\entity_hierarchy\StorageCode
public function setLockBackend(LockBackendInterface $lockBackend) {
$this->lockBackend = $lockBackend;
return $this;
}