public function QueryPluginBase::setOffset in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::setOffset()
Set an OFFSET on the query, specifying a number of results to skip.
File
- core/
modules/ views/ src/ Plugin/ views/ query/ QueryPluginBase.php, line 141
Class
- QueryPluginBase
- Base plugin class for Views queries.
Namespace
Drupal\views\Plugin\views\queryCode
public function setOffset($offset) {
$this->offset = $offset;
}