You are here

public function Pager::getTotalItems in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::getTotalItems()

Gets the total number of items.

Return value

int The total number of items.

File

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

Class

Pager
A value object that represents a pager.

Namespace

Drupal\Core\Pager

Code

public function getTotalItems() {
  return $this->totalItems;
}