WorkspaceManager::$activeWorkspace

The current active workspace.

The value is either a workspace object, FALSE if there is no active workspace, or NULL if the active workspace hasn't been determined yet.

Type: activeWorkspace

File

core/modules/workspaces/src/WorkspaceManager.php, line 29

Class

WorkspaceManager
Provides the workspace manager.

Namespace

Drupal\workspaces

Code

protected WorkspaceInterface|false|null $activeWorkspace = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.