Also add a NullSite Handling
[TASK] Add API to hide PseudoSite functionality
In order to avoid usages of using PseudoSite objects directly,
the following changes have been made:
The main entrypoint for finding sites is now encapsulated the
which consistently checks for Sites and Pseudo Sites. This is now
a singleton as it factors PseudoSiteFinder directly.
- NullSite for PID=0 (which is a slim version of a PseudoSite
and will stay around for longer than the PseudoSite).
This marks the last part of the Site API functionality, as
TYPO3 is now ready to work with the Site API in all places
throughout Frontend and Backend.
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Andreas Fernandez <firstname.lastname@example.org>
Tested-by: Andreas Fernandez <email@example.com>