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

Breadcrumb

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

function PagerPluginBase::getCurrentPage

Get the current page.

If NULL, we do not know what the current page is.

3 calls to PagerPluginBase::getCurrentPage()
Mini::postExecute in core/modules/views/src/Plugin/views/pager/Mini.php
Perform any needed actions just after the query executing.
Mini::query in core/modules/views/src/Plugin/views/pager/Mini.php
Modify the query for paging.
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 117

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function getCurrentPage() {
    return $this->current_page;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal