ViewExecutable::usePager

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();
  }
}
doc_Drupal
2016-10-29 09:54:29
Comments
Leave a Comment

Please login to continue.