public function ExtraResult::query in Views Extras (Session/Cookie/Token Support) 8
Same name and namespace in other branches
- 2.x src/Plugin/views/area/ExtraResult.php \Drupal\views_extras\Plugin\views\area\ExtraResult::query()
Add anything to the query that we might need to.
Overrides HandlerBase::query
File
- src/
Plugin/ views/ area/ ExtraResult.php, line 65
Class
- ExtraResult
- Views area handler to display some configurable result summary.
Namespace
Drupal\views_extras\Plugin\views\areaCode
public function query() {
if (strpos($this->options['content'], '@total') || strpos($this->options['content'], '@more')) {
$this->view->get_total_rows = TRUE;
}
}