You are here

public function Result::query in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/area/Result.php \Drupal\views\Plugin\views\area\Result::query()
  2. 9 core/modules/views/src/Plugin/views/area/Result.php \Drupal\views\Plugin\views\area\Result::query()

File

core/modules/views/src/Plugin/views/area/Result.php, line 62

Class

Result
Views area handler to display some configurable result summary.

Namespace

Drupal\views\Plugin\views\area

Code

public function query() {
  if (strpos($this->options['content'], '@total') !== FALSE) {
    $this->view->get_total_rows = TRUE;
  }
}