| PagerPluginBase::getOffset |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Get the page offset, or how many items to skip. |
| PagerPluginBase::getPagerId |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Get the pager id, if it exists. |
| PagerPluginBase::getTotalItems |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Get the total number of items. |
| PagerPluginBase::hasMoreRecords |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Determine if there are more records available. |
| PagerPluginBase::isOffsetExposed |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Returns whether the offset is exposed. |
| PagerPluginBase::itemsPerPageExposed |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Returns whether the items per page is exposed. |
| PagerPluginBase::postExecute |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Perform any needed actions just after the query executing. |
| PagerPluginBase::preExecute |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Perform any needed actions just prior to the query executing. |
| PagerPluginBase::preRender |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Perform any needed actions just before rendering. |
| PagerPluginBase::query |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Modify the query for paging. |
| PagerPluginBase::render |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Return the renderable array of the pager. |
| PagerPluginBase::setCurrentPage |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Set the current page. |
| PagerPluginBase::setHeadingLevel |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Set the pager heading. |
| PagerPluginBase::setItemsPerPage |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Set how many items per page this pager will display. |
| PagerPluginBase::setOffset |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Set the page offset, or how many items to skip. |
| PagerPluginBase::submitOptionsForm |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Provide the default form for submitting options. |
| PagerPluginBase::summaryTitle |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Returns a string to display as the clickable title for the pager plugin. |
| PagerPluginBase::updatePageInfo |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Updates the pager information. |
| PagerPluginBase::useCountQuery |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Determine if a pager needs a count query. |
| PagerPluginBase::usePager |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Determine if this pager actually uses a pager. |
| PagerPluginBase::usesExposed |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Indicates whether this pager uses exposed filters. |
| PagerPluginBase::validateOptionsForm |
function |
core/modules/views/src/Plugin/views/pager/PagerPluginBase.php |
Provide the default form for validating options. |
| PagerPluginBaseTest |
class |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests Drupal\views\Plugin\views\pager\PagerPluginBase. |
| PagerPluginBaseTest.php |
file |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
|
| PagerPluginBaseTest::$pager |
property |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
The mock pager plugin instance. |
| PagerPluginBaseTest::providerTestHasMoreRecords |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Provides test data for the hasMoreRecord method test. |
| PagerPluginBaseTest::setUp |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
|
| PagerPluginBaseTest::testExecuteCountQueryWithOffset |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the executeCountQuery method with a set offset. |
| PagerPluginBaseTest::testExecuteCountQueryWithOffsetLargerThanResult |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the executeCountQuery method with an offset larger than result count. |
| PagerPluginBaseTest::testExecuteCountQueryWithoutOffset |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the executeCountQuery method without a set offset. |
| PagerPluginBaseTest::testGetCurrentPage |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the getCurrentPage() method. |
| PagerPluginBaseTest::testGetItemsPerPage |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the getItemsPerPage() method. |
| PagerPluginBaseTest::testGetOffset |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the getOffset() method. |
| PagerPluginBaseTest::testGetPagerId |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the getPagerId() method. |
| PagerPluginBaseTest::testGetTotalItems |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the getTotalItems() method. |
| PagerPluginBaseTest::testHasMoreRecords |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the hasMoreRecords() method. |
| PagerPluginBaseTest::testSetCurrentPage |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the setCurrentPage() method. |
| PagerPluginBaseTest::testSetItemsPerPage |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the setItemsPerPage() method. |
| PagerPluginBaseTest::testSetOffset |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the setOffset() method. |
| PagerPluginBaseTest::testUseCountQuery |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the useCountQuery() method. |
| PagerPluginBaseTest::testUsePager |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the usePager() method. |
| PagerPluginBaseTest::testUsesExposed |
function |
core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php |
Tests the usesExposed() method. |
| PagerPreprocess |
class |
core/lib/Drupal/Core/Pager/PagerPreprocess.php |
Pager theme preprocess. |
| PagerPreprocess.php |
file |
core/lib/Drupal/Core/Pager/PagerPreprocess.php |
|
| PagerPreprocess::preprocessPager |
function |
core/lib/Drupal/Core/Pager/PagerPreprocess.php |
Prepares variables for pager templates. |
| PagerPreprocess::__construct |
function |
core/lib/Drupal/Core/Pager/PagerPreprocess.php |
|
| PagersCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
Defines a cache context for "per page in a pager" caching. |
| PagersCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
|
| PagersCacheContext::$pagerParams |
property |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
The pager parameters. |
| PagersCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php |
Gets cacheability metadata for the context based on the parameter value. |