Breaking: #84131 - Removed classes of language extension
See forge#84131
Description
The language pack update module - formerly known as "Admin Tools" -> "Language" module has been moved to "Maintenance" -> "Manage language packs".
PHP classes implementing the old solution have been removed:
\TYPO3\
CMS\ Lang\ Command\ Language Update Command \TYPO3\
CMS\ Lang\ Controller\ Language Controller \TYPO3\
CMS\ Lang\ Domain\ Model\ Extension \TYPO3\
CMS\ Lang\ Domain\ Model\ Language \TYPO3\
CMS\ Lang\ Domain\ Repository\ Extension Repository \TYPO3\
CMS\ Lang\ Domain\ Repository\ Language Repository \TYPO3\
CMS\ Lang\ Exception \TYPO3\
CMS\ Lang\ Exception\ Language \TYPO3\
CMS\ Lang\ Exception\ Ter \TYPO3\
CMS\ Lang\ Exception\ Xml Parser \TYPO3\
CMS\ Lang\ Service\ Registry Service \TYPO3\
CMS\ Lang\ Service\ Ter Service \TYPO3\
CMS\ Lang\ Service\ Translation Service \TYPO3\
CMS\ Lang\ View\ Abstract Json View \TYPO3\
CMS\ Lang\ View\ Language\ Activate Language Json \TYPO3\
CMS\ Lang\ View\ Language\ Deactivate Language Json \TYPO3\
CMS\ Lang\ View\ Language\ Get Translations Json \TYPO3\
CMS\ Lang\ View\ Language\ Remove Language Json \TYPO3\
CMS\ Lang\ View\ Language\ Update Language Json \TYPO3\
CMS\ Lang\ View\ Language\ Update Translation Json
Impact
Using one of the mentioned classes will throw a fatal PHP error.
Affected Installations
It is unlikely extensions used the mentioned classes, the extension scanner will find usages. The only well-known usage of one of this classes is the signal/slot to override the base download url of language packs per extension and the registration did not change and should still be done like this:
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
'TYPO3\\CMS\\Lang\\Service\\TranslationService',
'postProcessMirrorUrl',
\Company\Extension\Slots\CustomMirror::class,
'postProcessMirrorUrl'
);
Copied!
Migration
No migration available.