function ForumManagerInterface::getTopics

Same name in other branches
  1. 9 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getTopics()
  2. 10 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getTopics()
  3. 11.x 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 24

Class

ForumManagerInterface
Provides forum manager interface.

Namespace

Drupal\forum

Code

public function getTopics($tid, AccountInterface $account);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.