You are here

public function WorkspacePointerInterface::setWorkspace in Workspace 8

Sets the Workspace this pointer references.

Parameters

\Drupal\multiversion\Entity\WorkspaceInterface $workspace:

Return value

$this The called Workspace pointer entity.

1 method overrides WorkspacePointerInterface::setWorkspace()
WorkspacePointer::setWorkspace in src/Entity/WorkspacePointer.php
Sets the Workspace this pointer references.

File

src/WorkspacePointerInterface.php, line 65

Class

WorkspacePointerInterface
Provides an interface for defining Workspace pointer entities.

Namespace

Drupal\workspace

Code

public function setWorkspace(WorkspaceInterface $workspace);