You are here

public function ForumManagerInterface::getChildren in Drupal 9

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

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\forum

Code

public function getChildren($vid, $tid);