pager.html.twig
pager.html.twig
Default theme implementation to display a pager.
Available variables:
-
items: List of pager items. The list is keyed by the following elements:
- first: Item for the first page; not present on the first page of results.
- previous: Item for the previous page; not present on the first page of results.
- next: Item for the next page; not present on the last page of results.
- last: Item for the last page; not present on the last page of results.
- pages: List of pages, keyed by page number.
Sub-sub elements: items.first, items.previous, items.next, items.last, and each item inside items.pages contain the following elements:
- href: URL with appropriate query parameters for the item.
- attributes: A keyed list o