Breaking: #102980 - getAllPageNumbers() in PaginationInterface

See forge#102980


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.


Custom implementations of PaginationInterface must implement the method.

Affected installations

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


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