function PagerPluginBase::setOffset
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::setOffset()
- 10 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::setOffset()
- 11.x 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\pagerCode
public function setOffset($offset) {
$this->options['offset'] = $offset;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.