Skip to content
Snippets Groups Projects
Commit a6160b8a authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Remove interface showRecordFieldList for TYPO3 10

parent 294b4575
No related branches found
No related tags found
1 merge request!25Feature upgrade to typo3 10
......@@ -45,10 +45,7 @@ $configuration = [
'transOrigDiffSourceField' => 'l10n_diffsource',
'iconfile' => 'EXT:sg_news/Resources/Public/Icons/module-sgnews.svg'
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, crdate, name, email,
description, website, image, path_segment',
],
'interface' => [],
'types' => [
'1' => [
'showitem' => 'hidden;;1, --palette--;;authorInfos, path_segment, description'
......@@ -196,5 +193,8 @@ $configuration = [
],
]
];
if (version_compare(\TYPO3\CMS\Core\Utility\VersionNumberUtility::getCurrentTypo3Version(), '10.3.0', '<')) {
$configuration['interface']['showRecordFieldList'] = 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, crdate, name, email, description, website, image, path_segment';
}
return $configuration;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment