protected function DisqusCombinationWidgetBlock::buildQuery in Disqus 8
Gets query values for Disqus widget URL.
Return value
array Array of query values for Disqus widget URL.
Overrides DisqusBaseBlock::buildQuery
File
- src/
Plugin/ Block/ DisqusCombinationWidgetBlock.php, line 33
Class
- DisqusCombinationWidgetBlock
- Plugin implementation of the 'disqus_combination_widget'.
Namespace
Drupal\disqus\Plugin\BlockCode
protected function buildQuery() {
return parent::buildQuery() + [
'color' => $this->configuration['color_theme'],
'default_tab' => $this->configuration['default_tab_view'],
'excerpt_length' => $this->configuration['excerpt_length'],
'hide_mods' => (int) $this->configuration['hide_mods'],
];
}