function WorkspaceRepositoryInterface::getDescendantsAndSelf
Same name in other branches
- 8.9.x core/modules/workspaces/src/WorkspaceRepositoryInterface.php \Drupal\workspaces\WorkspaceRepositoryInterface::getDescendantsAndSelf()
- 10 core/modules/workspaces/src/WorkspaceRepositoryInterface.php \Drupal\workspaces\WorkspaceRepositoryInterface::getDescendantsAndSelf()
- 11.x core/modules/workspaces/src/WorkspaceRepositoryInterface.php \Drupal\workspaces\WorkspaceRepositoryInterface::getDescendantsAndSelf()
Returns the descendant IDs of the passed-in workspace, including itself.
Parameters
string $workspace_id: A workspace ID.
Return value
string[] An array of descendant workspace IDs, including the passed-in one.
1 method overrides WorkspaceRepositoryInterface::getDescendantsAndSelf()
- WorkspaceRepository::getDescendantsAndSelf in core/
modules/ workspaces/ src/ WorkspaceRepository.php - Returns the descendant IDs of the passed-in workspace, including itself.
File
-
core/
modules/ workspaces/ src/ WorkspaceRepositoryInterface.php, line 31
Class
- WorkspaceRepositoryInterface
- Provides an interface for workspace tree lookup operations.
Namespace
Drupal\workspacesCode
public function getDescendantsAndSelf($workspace_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.