function WorkspaceInterface::hasParent

Same name in other branches
  1. 8.9.x core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::hasParent()
  2. 10 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::hasParent()
  3. 11.x core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::hasParent()

Determines whether the workspace has a parent.

Return value

bool TRUE if the workspace has a parent, FALSE otherwise.

1 method overrides WorkspaceInterface::hasParent()
Workspace::hasParent in core/modules/workspaces/src/Entity/Workspace.php
Determines whether the workspace has a parent.

File

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

Class

WorkspaceInterface
Defines an interface for the workspace entity type.

Namespace

Drupal\workspaces

Code

public function hasParent();

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