public ForumManagerInterface::getParents($tid)
Fetches the parent forums for a given forum.
Parameters
int $tid: Term ID.
Return value
array Array of parent terms.
Deprecated
Scheduled to be removed in 9.0.x, see https://www.drupal.org/node/2371593.
File
- core/modules/forum/src/ForumManagerInterface.php, line 66
Class
- ForumManagerInterface
- Provides forum manager interface.
Namespace
Drupal\forum
Code
public function getParents($tid);
Please login to continue.