function PagerPluginBase::getTotalItems
Same name in other branches
- 8.9.x 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()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.