function ForumManagerInterface::getChildren

Same name and namespace in other branches
  1. 9 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getChildren()
  2. 8.9.x core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getChildren()
  3. 10 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.

File

core/modules/forum/src/ForumManagerInterface.php, line 37

Class

ForumManagerInterface
Provides forum manager interface.

Namespace

Drupal\forum

Code

public function getChildren($vid, $tid);

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