public function PagerPluginBase::getCurrentPage

Get the current page.

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

1 call to PagerPluginBase::getCurrentPage()
Mini::query in drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/Mini.php
Overrides \Drupal\views\Plugin\views\pager\SqlBase::query().

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php, line 106
Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.

Class

PagerPluginBase
The base plugin to handle pager.

Namespace

Drupal\views\Plugin\views\pager

Code

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