typo3-rector
typo3-rector copied to clipboard
Breaking: #102980 - getAllPageNumbers() in PaginationInterface
Breaking: #102980 - getAllPageNumbers() in PaginationInterface
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Breaking-102980-GetAllPageNumbersInPaginationInterface.html
Breaking: #102980 - getAllPageNumbers() in PaginationInterface
See 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.
PHP-API, NotScanned, ext:core