public 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 624
Class
ViewExecutable Represents a view as a whole.
Namespace
Drupal\views
Code
public function usePager() {
if (!empty($this->pager)) {
return $this->pager->usePager();
}
}