You are here

public function ForumManagerInterface::getTopics in Zircon Profile 8

Same name and namespace in other branches
  1. 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\forum

Code

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