You are here

public function PagerPluginBase::setOffset in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::setOffset()

Set the page offset, or how many items to skip.

File

core/modules/views/src/Plugin/views/pager/PagerPluginBase.php, line 71

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function setOffset($offset) {
  $this->options['offset'] = $offset;
}