You are here

constant WorkspaceInterface::DEFAULT_WORKSPACE in Drupal 8

The ID of the default workspace.

Deprecated

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\workspaces\WorkspaceManager::hasActiveWorkspace() instead.

See also

https://www.drupal.org/node/3071527

File

core/modules/workspaces/src/WorkspaceInterface.php, line 22

Class

WorkspaceInterface
Defines an interface for the workspace entity type.

Namespace

Drupal\workspaces

Code

const DEFAULT_WORKSPACE = 'live';