function Workspace::isDefaultWorkspace

Overrides WorkspaceInterface::isDefaultWorkspace

File

core/modules/workspaces/src/Entity/Workspace.php, line 136

Class

Workspace
The workspace entity class.

Namespace

Drupal\workspaces\Entity

Code

public function isDefaultWorkspace() {
    @trigger_error('WorkspaceInterface::isDefaultWorkspace() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \\Drupal\\workspaces\\WorkspaceManager::hasActiveWorkspace() instead. See https://www.drupal.org/node/3071527', E_USER_DEPRECATED);
    return FALSE;
}

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