Keep tt_content CType group

It will only be shown if there is any entry.
This allows installations to add custom elements to that group, or use
their own.
This commit is contained in:
Daniel Siepmann (Codappix) 2024-11-26 10:32:45 +01:00
parent 0eedec8ca9
commit 734d94f9da
SSH key fingerprint: SHA256:nAjx3Dpp8kuAC+S7QXj8BWmqw+KI1Miu+5e40BP3LXA
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?php
declare(strict_types=1);
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use WerkraumMedia\ThueCat\Extension;
ExtensionManagementUtility::addTcaSelectItemGroup(
'tt_content',
'CType',
Extension::TCA_SELECT_GROUP_IDENTIFIER,
Extension::getLanguagePath() . 'locallang_tca.xlf:tt_content.group',
'bottom',
);

View file

@ -308,6 +308,10 @@
<source>Created</source>
</trans-unit>
<trans-unit id="tt_content.group" xml:space="preserve">
<source>ThüCAT</source>
</trans-unit>
<trans-unit id="pages.group" xml:space="preserve">
<source>ThüCAT</source>
</trans-unit>