Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Pager.php

function 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\Pager

Code

public function getTotalItems() {
    return $this->totalItems;
}
RSS feed
Powered by Drupal