function Pager::getTotalItems
Same name in other branches
- 9 core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::getTotalItems()
- 8.9.x core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::getTotalItems()
- 10 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.