\Drupal\workspaces\Negotiator\WorkspaceNegotiatorInterface::getActiveWorkspace() has been deprecated and will be removed in Drupal 11.
Workspace negotiators need to implement a new method in order to negotiate an active workspace: \Drupal\workspaces\Negotiator\WorkspaceIdNegotiatorInterface::getActiveWorkspaceId().
The difference between the old and new negotiation methods is that the new method must not load the workspace entity to ensure that it exists, the responsibility for checking that has been moved to \Drupal\workspaces\WorkspaceManager::getActiveWorkspace().
https://www.drupal.org/node/3443765
Introduced in branch/version: 10.3.x / 10.3.0
\Drupal\workspaces\Negotiator\WorkspaceNegotiatorInterface::getActiveWorkspace()
has been deprecated and will be removed in Drupal 11.Workspace negotiators need to implement a new method in order to negotiate an active workspace:
\Drupal\workspaces\Negotiator\WorkspaceIdNegotiatorInterface::getActiveWorkspaceId()
.The difference between the old and new negotiation methods is that the new method must not load the workspace entity to ensure that it exists, the responsibility for checking that has been moved to
\Drupal\workspaces\WorkspaceManager::getActiveWorkspace()
.