You are here

public function DefaultSummary::query in Views (for Drupal 7) 8.3

Add anything to the query that we might need to.

Overrides StylePluginBase::query

File

lib/Drupal/views/Plugin/views/style/DefaultSummary.php, line 40
Definition of Drupal\views\Plugin\views\style\StyleSummaryPluginBase.

Class

DefaultSummary
The default style plugin for summaries.

Namespace

Drupal\views\Plugin\views\style

Code

public function query() {
  if (!empty($this->options['override'])) {
    $this->view
      ->setItemsPerPage(intval($this->options['items_per_page']));
  }
}