function ForumManagerInterface::getIndex

Same name in other branches
  1. 9 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getIndex()
  2. 10 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getIndex()
  3. 11.x core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getIndex()

Generates and returns the forum index.

The forum index is a pseudo term that provides an overview of all forums.

Return value

\Drupal\taxonomy\TermInterface A pseudo term representing the overview of all forums.

1 method overrides ForumManagerInterface::getIndex()
ForumManager::getIndex in core/modules/forum/src/ForumManager.php
Generates and returns the forum index.

File

core/modules/forum/src/ForumManagerInterface.php, line 47

Class

ForumManagerInterface
Provides forum manager interface.

Namespace

Drupal\forum

Code

public function getIndex();

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