You are here

public function WorkspaceInterface::hasParent in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::hasParent()
  2. 10 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 66

Class

WorkspaceInterface
Defines an interface for the workspace entity type.

Namespace

Drupal\workspaces

Code

public function hasParent();