public function ConflictTrackerInterface::useWorkspace in Multiversion 8
Sets the workspace to be used in subsequent queries.
If no workspace is set the default workspace will be used.
Parameters
\Drupal\multiversion\Entity\WorkspaceInterface $workspace: The id of the workspace.
Return value
\Drupal\multiversion\Workspace\ConflictTrackerInterface
See also
\Drupal\multiversion\Workspace\WorkspaceManagerInterface::getActiveWorkspace().
1 method overrides ConflictTrackerInterface::useWorkspace()
- ConflictTracker::useWorkspace in src/
Workspace/ ConflictTracker.php - Sets the workspace to be used in subsequent queries.
File
- src/
Workspace/ ConflictTrackerInterface.php, line 21
Class
- ConflictTrackerInterface
- The interface for services that track conflicts in a workspace.
Namespace
Drupal\multiversion\WorkspaceCode
public function useWorkspace(WorkspaceInterface $workspace);