public function Pager::getTotalItems in Drupal 9
Same name and namespace in other branches
- 8 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\PagerCode
public function getTotalItems() {
return $this->totalItems;
}