ForumManagerInterface::getParents

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);
doc_Drupal
2016-10-29 09:17:14
Comments
Leave a Comment

Please login to continue.