[FEATURE] Migrate various Signals to PSR-14 events in system extensions
The following new PSR-14 events are added: TYPO3\CMS\Core\Configuration\Event\ModifyLoadedPageTsConfigEvent TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent TYPO3\CMS\Backend\Controller\Event\BeforeFormEnginePageInitializedEvent TYPO3\CMS\Backend\Controller\Event\AfterFormEnginePageInitializedEvent TYPO3\CMS\Backend\LoginProvider\Event\ModifyPageLayoutOnLoginProviderSelectionEvent TYPO3\CMS\Impexp\Event\BeforeImportEvent TYPO3\CMS\Install\Service\Event\ModifyLanguagePackRemoteBaseUrlEvent TYPO3\CMS\Linkvalidator\Event\BeforeRecordIsAnalyzedEvent TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent TYPO3\CMS\Workspaces\Event\AfterCompiledCacheableDataForWorkspaceEvent TYPO3\CMS\Workspaces\Event\AfterDataGeneratedForWorkspaceEvent TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent They replace the following "old" signals with a deprecation layer: TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider::getPageRenderer TYPO3\CMS\Backend\Controller\EditDocumentController::preInitAfter TYPO3\CMS\Backend\Controller\EditDocumentController::initAfter TYPO3\CMS\Backend\Utility\BackendUtility::getPagesTSconfigPreInclude TYPO3\CMS\Beuser\Controller\BackendUserController::switchUser TYPO3\CMS\Impexp\Utility\ImportExportUtility::afterImportExportInitialisation TYPO3\CMS\Lang\Service\TranslationService::postProcessMirrorUrl TYPO3\CMS\Linkvalidator\LinkAnalyzer::beforeAnalyzeRecord TYPO3\CMS\Seo\Canonical\CanonicalGenerator::beforeGeneratingCanonical TYPO3\CMS\Workspaces\Service\GridDataService::SIGNAL_GenerateDataArray_BeforeCaching TYPO3\CMS\Workspaces\Service\GridDataService::SIGNAL_GenerateDataArray_PostProcesss TYPO3\CMS\Workspaces\Service\GridDataService::SIGNAL_GetDataArray_PostProcesss TYPO3\CMS\Workspaces\Service\GridDataService::SIGNAL_SortDataArray_PostProcesss Relates: #89733 Resolves: #89813 Releases: master Change-Id: I13f2454fd8f4efb5f4c5248d0b839634b77578db Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62422 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Susanne Moog <look@susi.dev> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Susanne Moog <look@susi.dev>
Showing
- typo3/sysext/backend/Classes/Authentication/Event/SwitchUserEvent.php 59 additions, 0 deletions.../backend/Classes/Authentication/Event/SwitchUserEvent.php
- typo3/sysext/backend/Classes/Compatibility/SlotReplacement.php 46 additions, 0 deletions.../sysext/backend/Classes/Compatibility/SlotReplacement.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 12 additions, 35 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Classes/Controller/Event/AfterFormEnginePageInitializedEvent.php 51 additions, 0 deletions.../Controller/Event/AfterFormEnginePageInitializedEvent.php
- typo3/sysext/backend/Classes/Controller/Event/BeforeFormEnginePageInitializedEvent.php 51 additions, 0 deletions...Controller/Event/BeforeFormEnginePageInitializedEvent.php
- typo3/sysext/backend/Classes/Controller/LoginController.php 17 additions, 2 deletionstypo3/sysext/backend/Classes/Controller/LoginController.php
- typo3/sysext/backend/Classes/LoginProvider/Event/ModifyPageLayoutOnLoginProviderSelectionEvent.php 62 additions, 0 deletions...r/Event/ModifyPageLayoutOnLoginProviderSelectionEvent.php
- typo3/sysext/backend/Classes/LoginProvider/UsernamePasswordLoginProvider.php 0 additions, 6 deletions...d/Classes/LoginProvider/UsernamePasswordLoginProvider.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 5 additions, 35 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Configuration/Services.yaml 19 additions, 0 deletionstypo3/sysext/backend/Configuration/Services.yaml
- typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php 3 additions, 1 deletion...kend/Tests/Unit/Controller/EditDocumentControllerTest.php
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php 8 additions, 1 deletion.../sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
- typo3/sysext/beuser/Classes/Compatibility/SlotReplacement.php 49 additions, 0 deletions...3/sysext/beuser/Classes/Compatibility/SlotReplacement.php
- typo3/sysext/beuser/Classes/Controller/BackendUserController.php 20 additions, 12 deletions...ysext/beuser/Classes/Controller/BackendUserController.php
- typo3/sysext/beuser/Configuration/Services.yaml 8 additions, 0 deletionstypo3/sysext/beuser/Configuration/Services.yaml
- typo3/sysext/core/Classes/Configuration/Event/ModifyLoadedPageTsConfigEvent.php 59 additions, 0 deletions...ses/Configuration/Event/ModifyLoadedPageTsConfigEvent.php
- typo3/sysext/core/Classes/Configuration/Loader/PageTsConfigLoader.php 16 additions, 1 deletion.../core/Classes/Configuration/Loader/PageTsConfigLoader.php
- typo3/sysext/core/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/core/Configuration/Services.yaml
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-89733-SignalSlotsInCoreExtensionMigratedToPSR-14Events.rst 37 additions, 8 deletions...9733-SignalSlotsInCoreExtensionMigratedToPSR-14Events.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-89733-NewPSR-14EventsForExistingSignalSlotsInCoreExtension.rst 31 additions, 5 deletions...-NewPSR-14EventsForExistingSignalSlotsInCoreExtension.rst
Please register or sign in to comment