You are here

function PagerPluginBase::get_current_page in Views (for Drupal 7) 8.3

Get the current page.

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

File

lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php, line 93
Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.

Class

PagerPluginBase
The base plugin to handle pager.

Namespace

Drupal\views\Plugin\views\pager

Code

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