function ForumManagerInterface::getTopics
Same name in other branches
- 9 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getTopics()
- 8.9.x core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getTopics()
- 10 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getTopics()
Gets list of forum topics.
Parameters
int $tid: Term ID.
\Drupal\Core\Session\AccountInterface $account: Account to fetch topics for.
Return value
array Array with keys 'topics' and 'header'.
File
-
core/
modules/ forum/ src/ ForumManagerInterface.php, line 24
Class
- ForumManagerInterface
- Provides forum manager interface.
Namespace
Drupal\forumCode
public function getTopics($tid, AccountInterface $account);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.