[DOCS] Explain that L10n signal/slot is not affected 13/58313/4
authorXavier Perseguers <xavier@typo3.org>
Tue, 18 Sep 2018 12:36:11 +0000 (14:36 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 18 Sep 2018 18:47:45 +0000 (20:47 +0200)
The breaking change documentation is adapted to explicitly mention that
the signal/slot registration is kept untouched.

This will prevent confusion for developers reading the list of breaking changes.

Related: #50467
Related: #62983
Related: #84131
Related: #84691
Releases: master
Change-Id: I43ff5a6882e84c29844495fa9f10e6a35f07b1ff
Reviewed-on: https://review.typo3.org/58313
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Documentation/Changelog/9.2/Breaking-84131-RemovedClassesOfLanguageExtension.rst

index 66aff70..4222857 100644 (file)
@@ -44,7 +44,21 @@ 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.
+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:
+
+.. code-block:: php
+
+    /** @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'
+    );
 
 
 Migration
@@ -52,4 +66,4 @@ Migration
 
 No migration available.
 
-.. index:: Backend, PHP-API, FullyScanned, ext:lang
\ No newline at end of file
+.. index:: Backend, PHP-API, FullyScanned, ext:lang