function ViewExecutable::usePager
Same name and namespace in other branches
- 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::usePager()
Determines if the view uses a pager.
Return value
bool TRUE if the view uses a pager, FALSE otherwise.
File
-
core/
modules/ views/ src/ ViewExecutable.php, line 638
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\viewsCode
public function usePager() {
if (!empty($this->pager)) {
return $this->pager
->usePager();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.