public function Result::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/area/Result.php \Drupal\views\Plugin\views\area\Result::query()
Add anything to the query that we might need to.
Overrides HandlerBase::query
File
- core/
modules/ views/ src/ Plugin/ views/ area/ Result.php, line 63
Class
- Result
- Views area handler to display some configurable result summary.
Namespace
Drupal\views\Plugin\views\areaCode
public function query() {
if (strpos($this->options['content'], '@total') !== FALSE) {
$this->view->get_total_rows = TRUE;
}
}