public function ForumManagerInterface::getIndex in Drupal 9
Same name and namespace in other branches
- 8 core/modules/forum/src/ForumManagerInterface.php \Drupal\forum\ForumManagerInterface::getIndex()
- 10 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\forumCode
public function getIndex();