Pager::$totalPages

Same name in other branches
  1. 9 core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::totalPages
  2. 8.9.x core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::totalPages
  3. 11.x core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::totalPages

The total number of pages.

Type: int

File

core/lib/Drupal/Core/Pager/Pager.php, line 22

Class

Pager
A value object that represents a pager.

Namespace

Drupal\Core\Pager

Code

protected $totalPages;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.