function WorkspaceManagerInterface::getActiveWorkspace

Same name and namespace in other branches
  1. 9 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::getActiveWorkspace()
  2. 8.9.x core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::getActiveWorkspace()
  3. 10 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::getActiveWorkspace()

Gets the active workspace.

Return value

\Drupal\workspaces\WorkspaceInterface The active workspace entity object.

File

core/modules/workspaces/src/WorkspaceManagerInterface.php, line 24

Class

WorkspaceManagerInterface
Provides an interface for managing Workspaces.

Namespace

Drupal\workspaces

Code

public function getActiveWorkspace();

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