WorkspaceInterface::DEFAULT_WORKSPACE

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';

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