ViewExecutable::$current_page

Same name and namespace in other branches
  1. 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::current_page
  2. 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::current_page
  3. 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::current_page

The current page. If the view uses pagination.

Type: int

File

core/modules/views/src/ViewExecutable.php, line 91

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

protected $current_page = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.