Automated migrations from rector.php and fractor.php (TCA, Extbase controllers and annotations, ViewHelpers, QueryBuilder, FlexForms, TypoScript conditions). Plugins stay list_type plugins: Rector switched them to content element types, which needs a tt_content migration. That is deferred to the TYPO3 14 step, where list_type is removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
25 lines
741 B
PHP
25 lines
741 B
PHP
<?php
|
|
|
|
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
|
use TYPO3\CMS\Core\Imaging\IconRegistry;
|
|
use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider;
|
|
|
|
defined('TYPO3') or die();
|
|
|
|
call_user_func(function () {
|
|
if ($GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] !== '') {
|
|
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',';
|
|
}
|
|
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= 'og_image';
|
|
|
|
if (TYPO3_MODE === 'BE') {
|
|
$iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
|
|
$iconRegistry->registerIcon(
|
|
'content-ep_theme-ce',
|
|
SvgIconProvider::class,
|
|
['source' => 'EXT:ep_theme/Resources/Public/images/logo.svg']
|
|
);
|
|
}
|
|
|
|
});
|