public function QueryTrait::useWorkspace in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Query/QueryTrait.php \Drupal\multiversion\Entity\Query\QueryTrait::useWorkspace()
Parameters
int $id:
Return value
\Drupal\multiversion\Entity\Query\QueryTrait
File
- src/
Entity/ Query/ QueryTrait.php, line 29
Class
- QueryTrait
- @property $entityTypeId @property $entityTypeManager @property $condition
Namespace
Drupal\multiversion\Entity\QueryCode
public function useWorkspace($id) {
$this->workspaceId = $id;
return $this;
}