You are here

public function SequenceIndex::useWorkspace in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Index/SequenceIndex.php \Drupal\multiversion\Entity\Index\SequenceIndex::useWorkspace()

Parameters

$id:

Return value

\Drupal\multiversion\Entity\Index\IndexInterface

Overrides IndexInterface::useWorkspace

File

src/Entity/Index/SequenceIndex.php, line 51

Class

SequenceIndex

Namespace

Drupal\multiversion\Entity\Index

Code

public function useWorkspace($id) {
  $this->workspaceId = $id;
  return $this;
}