Breaking: #102980 - getAllPageNumbers() in PaginationInterface¶
See forge#102980
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¶
Custom implementations of PaginationInterface
must implement the method.
Affected installations¶
Instances with extensions that provide own pagination classes that implement
PaginationInterface
may be affected.
Migration¶
See the two Core classes SimplePagination
and SlidingWindowPagination
for examples on how the method is implemented.