public ForumManagerInterface::getTopics($tid, AccountInterface $account)
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\forum
Code
public function getTopics($tid, AccountInterface $account);
Please login to continue.