Views pager plugins in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\views_pager_plugins
- 9 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
Name | Location | Description |
---|---|---|
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. |