public function ForumManagerInterface::getTopics in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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'.
1 method overrides ForumManagerInterface::getTopics()
- ForumManager::getTopics in core/
modules/ forum/ src/ ForumManager.php - Gets list of forum topics.
File
- core/
modules/ forum/ src/ ForumManagerInterface.php, line 29 - Contains \Drupal\forum\ForumManagerInterface.
Class
- ForumManagerInterface
- Provides forum manager interface.
Namespace
Drupal\forumCode
public function getTopics($tid, AccountInterface $account);