function DefaultSummary::query
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/style/DefaultSummary.php \Drupal\views\Plugin\views\style\DefaultSummary::query()
- 10 core/modules/views/src/Plugin/views/style/DefaultSummary.php \Drupal\views\Plugin\views\style\DefaultSummary::query()
- 11.x core/modules/views/src/Plugin/views/style/DefaultSummary.php \Drupal\views\Plugin\views\style\DefaultSummary::query()
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']));
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.