function QueryParameterWorkspaceNegotiator::unsetActiveWorkspace
Same name and namespace in other branches
- 11.x core/modules/workspaces/src/Negotiator/QueryParameterWorkspaceNegotiator.php \Drupal\workspaces\Negotiator\QueryParameterWorkspaceNegotiator::unsetActiveWorkspace()
Overrides SessionWorkspaceNegotiator::unsetActiveWorkspace
File
-
core/
modules/ workspaces/ src/ Negotiator/ QueryParameterWorkspaceNegotiator.php, line 58
Class
- QueryParameterWorkspaceNegotiator
- Defines the query parameter workspace negotiator.
Namespace
Drupal\workspaces\NegotiatorCode
public function unsetActiveWorkspace() {
if ($this->persist) {
parent::unsetActiveWorkspace();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.