protected function DisqusBaseBlock::buildQuery in Disqus 8
Gets query values for Disqus widget URL.
Return value
array Array of query values for Disqus widget URL.
3 calls to DisqusBaseBlock::buildQuery()
- DisqusCombinationWidgetBlock::buildQuery in src/
Plugin/ Block/ DisqusCombinationWidgetBlock.php - Gets query values for Disqus widget URL.
- DisqusRecentCommentBlock::buildQuery in src/
Plugin/ Block/ DisqusRecentCommentBlock.php - Gets query values for Disqus widget URL.
- DisqusTopCommentersBlock::buildQuery in src/
Plugin/ Block/ DisqusTopCommentersBlock.php - Gets query values for Disqus widget URL.
3 methods override DisqusBaseBlock::buildQuery()
- DisqusCombinationWidgetBlock::buildQuery in src/
Plugin/ Block/ DisqusCombinationWidgetBlock.php - Gets query values for Disqus widget URL.
- DisqusRecentCommentBlock::buildQuery in src/
Plugin/ Block/ DisqusRecentCommentBlock.php - Gets query values for Disqus widget URL.
- DisqusTopCommentersBlock::buildQuery in src/
Plugin/ Block/ DisqusTopCommentersBlock.php - Gets query values for Disqus widget URL.
File
- src/
Plugin/ Block/ DisqusBaseBlock.php, line 171
Class
- DisqusBaseBlock
- Create a new DisqusBaseBlock.
Namespace
Drupal\disqus\Plugin\BlockCode
protected function buildQuery() {
return [
'domain' => $this->disqusConfig
->get('disqus_domain'),
'num_items' => $this->configuration['items'],
];
}