public function RevisionTreeIndex::useWorkspace in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/RevisionTreeIndex.php \Drupal\multiversion\Entity\Index\RevisionTreeIndex::useWorkspace()
Parameters
$id:
Return value
\Drupal\multiversion\Entity\Index\IndexInterface
Overrides IndexInterface::useWorkspace
File
- src/
Entity/ Index/ RevisionTreeIndex.php, line 66
Class
- RevisionTreeIndex
- The revision tree index.
Namespace
Drupal\multiversion\Entity\IndexCode
public function useWorkspace($id) {
$this->workspaceId = $id;
return $this;
}