function 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\Negotiator

Code

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.