function 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 134

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

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.