Deprecation: #75760 - Deprecate methods of LocalizationRepository
See forge#75760
Description
The following methods have been marked as deprecated:
Localization
Repository:: get Exclude Query Part () Localization
Repository:: get Allowed Languages For Backend User ()
Impact
Using the mentioned methods will trigger a deprecation log entry
Affected Installations
Any installation with a 3rd party extension that uses one of the named methods.
Migration
Instead of Localization
configure the query restrictions yourself:
$queryBuilder->getRestrictions()
->removeAll()
->add(GeneralUtility::makeInstance(DeletedRestriction::class))
->add(GeneralUtility::makeInstance(BackendWorkspaceRestriction::class));
Copied!
Instead of Localization
add
the required conditions to your query yourself.