You are here

public function ContentEntityStorageTrait::useWorkspace in Multiversion 8

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

File

src/Entity/Storage/ContentEntityStorageTrait.php, line 98

Class

ContentEntityStorageTrait

Namespace

Drupal\multiversion\Entity\Storage

Code

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