public function PagerPluginBase::getTotalItems in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getTotalItems()
- 10 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getTotalItems()
Get the total number of items.
If NULL, we do not yet know what the total number of items are.
1 call to PagerPluginBase::getTotalItems()
- SqlBase::updatePageInfo in core/
modules/ views/ src/ Plugin/ views/ pager/ SqlBase.php - Update global paging info.
File
- core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 103
Class
- PagerPluginBase
- Base class for views pager plugins.
Namespace
Drupal\views\Plugin\views\pagerCode
public function getTotalItems() {
return $this->total_items;
}