1 views_plugin_pager_none.inc views_plugin_pager_none::query()

Modify the query for paging

This is called during the build phase and can directly modify the query.

Overrides views_plugin_pager::query

File

core/modules/views/plugins/views_plugin_pager_none.inc, line 70
Definition of views_plugin_pager_none.

Class

views_plugin_pager_none
Plugin for views without pagers.

Code

function query() {
  // The only query modifications we might do are offsets.
  if (!empty($this->options['offset'])) {
    $this->view->query->set_offset($this->options['offset']);
  }
}