public function DefaultSummary::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/style/DefaultSummary.php \Drupal\views\Plugin\views\style\DefaultSummary::query()
Add anything to the query that we might need to.
Overrides StylePluginBase::query
File
- core/
modules/ views/ src/ Plugin/ views/ style/ DefaultSummary.php, line 33
Class
- DefaultSummary
- The default style plugin for summaries.
Namespace
Drupal\views\Plugin\views\styleCode
public function query() {
if (!empty($this->options['override'])) {
$this->view
->setItemsPerPage(intval($this->options['items_per_page']));
}
}