function WorkspaceManagerInterface::hasActiveWorkspace
Same name in other branches
- 9 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::hasActiveWorkspace()
- 8.9.x core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::hasActiveWorkspace()
- 11.x core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::hasActiveWorkspace()
Determines whether a workspace is active in the current request.
Return value
bool TRUE if a workspace is active, FALSE otherwise.
File
-
core/
modules/ workspaces/ src/ WorkspaceManagerInterface.php, line 47
Class
- WorkspaceManagerInterface
- Provides an interface for managing Workspaces.
Namespace
Drupal\workspacesCode
public function hasActiveWorkspace();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.