function TestWorkspaceNegotiator::getActiveWorkspace
File
-
core/
modules/ workspaces/ tests/ modules/ workspace_update_test/ src/ Negotiator/ TestWorkspaceNegotiator.php, line 35
Class
- TestWorkspaceNegotiator
- Defines a workspace negotiator used for testing.
Namespace
Drupal\workspace_update_test\NegotiatorCode
public function getActiveWorkspace(Request $request) {
return Workspace::load($this->getActiveWorkspaceId($request));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.