You are here

public function WorkspaceManagerInterface::hasActiveWorkspace in Drupal 8

Same name and namespace in other branches
  1. 9 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.

1 method overrides WorkspaceManagerInterface::hasActiveWorkspace()
WorkspaceManager::hasActiveWorkspace in core/modules/workspaces/src/WorkspaceManager.php
Determines whether a workspace is active in the current request.

File

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

Class

WorkspaceManagerInterface
Provides an interface for managing Workspaces.

Namespace

Drupal\workspaces

Code

public function hasActiveWorkspace();