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

Breadcrumb

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

function Pager::getCurrentPage

Gets the current page.

Return value

int The current page.

File

core/lib/Drupal/Core/Pager/Pager.php, line 107

Class

Pager
A value object that represents a pager.

Namespace

Drupal\Core\Pager

Code

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