dropdown_pager
Provides an accessible dropdown-based pager option for Drupal Views. Replaces the standard full pager with a compact dropdown button that saves space while maintaining all core pager functionality.
Features
Basic Functionality:
- Dropdown-based pagination interface replacing the standard full pager
- Compact button showing current page (e.g., "5 / 6")
- Full navigation: First, Previous, Next, Last buttons
Unique Features:
- WCAG 2.1 AA compliant with ARIA labels and keyboard navigation
- Optional search field to quickly jump to specific pages
- Customizable text templates for button and page links
Post-Installation
No separate configuration page. Configure directly in Views:
1. Edit a View (Structure → Views)
2. Go to Pager settings
3. Select "Paged output, dropdown pager"
4. Configure options (items per page, templates, search, etc.)
5. Save the View
The dropdown pager appears automatically on the frontend. Fully themeable via `views-dropdown-pager.html.twig` template.
Additional Requirements
- Drupal 10.1+ or Drupal 11+
- Views module (core)
No additional dependencies required.