Search for setCurrentPage

  1. Search 7.x for setCurrentPage
  2. Search 9.5.x for setCurrentPage
  3. Search 8.9.x for setCurrentPage
  4. Search 10.3.x for setCurrentPage
  5. Other projects
Title Object type File name Summary
Pager::setCurrentPage function core/lib/Drupal/Core/Pager/Pager.php Sets the current page to a valid value within range.
PagerPluginBase::setCurrentPage function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Set the current page.
PagerPluginBaseTest::testSetCurrentPage function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the setCurrentPage() method.
SqlBase::setCurrentPage function core/modules/views/src/Plugin/views/pager/SqlBase.php Set the current page.
ViewExecutable::setCurrentPage function core/modules/views/src/ViewExecutable.php Sets the current page for the pager.
ViewExecutableTest::testSetCurrentPageBeforePreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setCurrentPage
@covers ::getCurrentPage
ViewExecutableTest::testSetCurrentPageDuringPreRender function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::setCurrentPage
@covers ::getCurrentPage

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