function ForumManagerInterface::getChildren
Same name in other branches
- 9 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getChildren()
- 10 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getChildren()
- 11.x core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getChildren()
Utility method to fetch the child forums for a given forum.
Parameters
int $vid: The forum vocabulary ID.
int $tid: The forum ID to fetch the children for.
Return value
array Array of children.
1 method overrides ForumManagerInterface::getChildren()
- ForumManager::getChildren in core/
modules/ forum/ src/ ForumManager.php - Utility method to fetch the child forums for a given forum.
File
-
core/
modules/ forum/ src/ ForumManagerInterface.php, line 37
Class
- ForumManagerInterface
- Provides forum manager interface.
Namespace
Drupal\forumCode
public function getChildren($vid, $tid);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.