---
title: "Breaking: #102980 - getAllPageNumbers() in PaginationInterface"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-102980-1706534274"
source: "Changelog/13.0/Breaking-102980-GetAllPageNumbersInPaginationInterface.rst"
typo3-version: "13.0"
typo3-major: 13
type: "breaking"
issue: 102980
forge: "https://forge.typo3.org/issues/102980"
tags: ["PHP-API", "NotScanned", "ext:core"]
rendered: "2026-10-03T08:19:36+00:00"
---

# Breaking: #102980 - getAllPageNumbers() in PaginationInterface {#breaking-102980-1706534274}

See [forge#102980](https://forge.typo3.org/issues/102980)

## Description {#description}

A method has been added to `\TYPO3\CMS\Core\Pagination\PaginationInterface`
with this signature: `public function getAllPageNumbers(): array;`. It should
return a list of all available page numbers.

The method has already been implemented in
`\TYPO3\CMS\Core\Pagination\SimplePagination` and
`\TYPO3\CMS\Core\Pagination\SlidingWindowPagination`.

## Impact {#impact}

Custom implementations of `PaginationInterface` must implement the method.

## Affected installations {#affected-installations}

Instances with extensions that provide own pagination classes that implement
`PaginationInterface` may be affected.

## Migration {#migration}

See the two Core classes `SimplePagination` and `SlidingWindowPagination`
for examples on how the method is implemented.
