Deprecation: #89733 - Signal Slots in Core Extension migrated to PSR-14 events

See forge#89733

Description

The following Signal Slots have been replaced by new PSR-14 events which can be used as 1:1 equivalents:

  • TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::getSystemInformation
  • TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::loadMessages
  • 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\Core\Database\SoftReferenceIndex::setTypoLinkPartsElement
  • TYPO3\CMS\Core\Database\ReferenceIndex::shouldExcludeTableFromReferenceIndex
  • TYPO3\CMS\Core\Imaging\IconFactory::buildIconForResourceSignal
  • TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider::PostProcessTreeData
  • TYPO3\CMS\Core\Utility\ExtensionManagementUtility::tcaIsBeingBuilt
  • TYPO3\CMS\Impexp\Utility\ImportExportUtility::afterImportExportInitialisation
  • TYPO3\CMS\Install\Service\SqlExpectedSchemaService::tablesDefinitionIsBeingBuilt
  • 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

In addition, the following public constants, marking a signal name, are deprecated:

  • TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider::SIGNAL_PostProcessTreeData
  • 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

Impact

Using the mentioned signals will trigger a deprecation warning.

Affected Installations

TYPO3 installations with custom extensions using these signals.

Migration

Use the new PSR-14 alternatives:

  • TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent
  • TYPO3\CMS\Backend\Backend\Event\SystemInformationToolbarCollectorEvent
  • TYPO3\CMS\Backend\Controller\Event\BeforeFormEnginePageInitializedEvent
  • TYPO3\CMS\Backend\Controller\Event\AfterFormEnginePageInitializedEvent
  • TYPO3\CMS\Backend\LoginProvider\Event\ModifyPageLayoutOnLoginProviderSelectionEvent
  • TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent
  • TYPO3\CMS\Core\DataHandling\Event\IsTableExcludedFromReferenceIndexEvent
  • TYPO3\CMS\Core\DataHandling\Event\AppendLinkHandlerElementsEvent
  • TYPO3\CMS\Core\Configuration\Event\AfterTcaCompilationEvent
  • TYPO3\CMS\Core\Database\Event\AlterTableDefinitionStatementsEvent
  • TYPO3\CMS\Core\Tree\Event\ModifyTreeDataEvent
  • TYPO3\CMS\Core\Configuration\Event\ModifyLoadedPageTsConfigEvent
  • 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