Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Move Slug Candidate functionality into its own class
When Page-based slug handling + routing was introduced, the initial PageRouter class turned big very quickly. Especially managing the possible pages that could match was initially based on the candidates principle that could be moved / exchanged later-on. For this to happen the initial step is to move this to a separate PHP class called "PageSlugCandidateProvider". As seen in the patch, all calls to the database related to retrieving pages (DB + PageRepository) are moved into PageSlugCandidateProvider. Resolves: #88575 Releases: master Change-Id: I14b3ebccf439613cc9aa7943d1a44d0892cf04e5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61050 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
- Loading branch information
1 parent
6a23b8e
commit 990b59f
Showing
3 changed files
with
315 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.