public function DefaultSummary::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 38 - Contains \Drupal\views\Plugin\views\style\DefaultSummary.
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']));
}
}