You are here

public function ForumManagerInterface::getParents in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getParents()

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.

1 method overrides ForumManagerInterface::getParents()
ForumManager::getParents in core/modules/forum/src/ForumManager.php
Fetches the parent forums for a given forum.

File

core/modules/forum/src/ForumManagerInterface.php, line 71
Contains \Drupal\forum\ForumManagerInterface.

Class

ForumManagerInterface
Provides forum manager interface.

Namespace

Drupal\forum

Code

public function getParents($tid);