public function Result::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 68 - Contains \Drupal\views\Plugin\views\area\Result.
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;
}
}