public function WorkspaceInterface::hasParent in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workspaces/src/WorkspaceInterface.php \Drupal\workspaces\WorkspaceInterface::hasParent()
- 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 43
Class
- WorkspaceInterface
- Defines an interface for the workspace entity type.
Namespace
Drupal\workspacesCode
public function hasParent();