public function TestWorkspaceNegotiator::setActiveWorkspace in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/tests/modules/workspace_update_test/src/Negotiator/TestWorkspaceNegotiator.php \Drupal\workspace_update_test\Negotiator\TestWorkspaceNegotiator::setActiveWorkspace()
- 10 core/modules/workspaces/tests/modules/workspace_update_test/src/Negotiator/TestWorkspaceNegotiator.php \Drupal\workspace_update_test\Negotiator\TestWorkspaceNegotiator::setActiveWorkspace()
Sets the negotiated workspace.
Parameters
\Drupal\workspaces\WorkspaceInterface $workspace: The workspace entity.
Overrides WorkspaceNegotiatorInterface::setActiveWorkspace
File
- core/
modules/ workspaces/ tests/ modules/ workspace_update_test/ src/ Negotiator/ TestWorkspaceNegotiator.php, line 32
Class
- TestWorkspaceNegotiator
- Defines a workspace negotiator used for testing.
Namespace
Drupal\workspace_update_test\NegotiatorCode
public function setActiveWorkspace(WorkspaceInterface $workspace) {
// Nothing to do here.
}