function ForumBlockBase::buildForumQuery
Same name in other branches
- 9 core/modules/forum/src/Plugin/Block/ForumBlockBase.php \Drupal\forum\Plugin\Block\ForumBlockBase::buildForumQuery()
- 8.9.x core/modules/forum/src/Plugin/Block/ForumBlockBase.php \Drupal\forum\Plugin\Block\ForumBlockBase::buildForumQuery()
- 11.x core/modules/forum/src/Plugin/Block/ForumBlockBase.php \Drupal\forum\Plugin\Block\ForumBlockBase::buildForumQuery()
Builds the select query to use for this forum block.
Return value
\Drupal\Core\Database\Query\Select A Select object.
2 methods override ForumBlockBase::buildForumQuery()
- ActiveTopicsBlock::buildForumQuery in core/
modules/ forum/ src/ Plugin/ Block/ ActiveTopicsBlock.php - Builds the select query to use for this forum block.
- NewTopicsBlock::buildForumQuery in core/
modules/ forum/ src/ Plugin/ Block/ NewTopicsBlock.php - Builds the select query to use for this forum block.
File
-
core/
modules/ forum/ src/ Plugin/ Block/ ForumBlockBase.php, line 40
Class
- ForumBlockBase
- Provides a base class for Forum blocks.
Namespace
Drupal\forum\Plugin\BlockCode
protected abstract function buildForumQuery();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.