Views pager plugins
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\views_pager_plugins
- 10 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\views_pager_plugins
- 11.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\views_pager_plugins
Plugins to handle paging in views.
Pager plugins take care of everything regarding pagers, including figuring out the total number of items to render, setting up the query for paging, and setting up the pager.
Pager plugins extend \Drupal\views\Plugin\views\pager\PagerPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsPager annotation, and they must be in namespace directory Plugin\views\pager.
See also
Parent topics
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 8
Classes
Title Sort descending | File name | Summary |
---|---|---|
Full | core/ |
The plugin to handle full pager. |
Mini | core/ |
The plugin to handle mini pager. |
None | core/ |
Plugin for views without pagers. |
PagerPluginBase | core/ |
Base class for views pager plugins. |
Some | core/ |
Plugin for views without pagers. |
ViewsPager | core/ |
Defines a Plugin annotation object for views pager plugins. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.