Skip to content
  • Benni Mack's avatar
    [FEATURE] Migrate various Signals to PSR-14 events in system extensions · ca19817b
    Benni Mack authored and Susanne Moog's avatar Susanne Moog committed
    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: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Tested-by: default avatarSusanne Moog <look@susi.dev>
    Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Reviewed-by: default avatarSusanne Moog <look@susi.dev>
    ca19817b