mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-12-04 19:16:13 +01:00
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:
parent
0eedec8ca9
commit
734d94f9da
2 changed files with 18 additions and 0 deletions
14
Configuration/TCA/Overrides/tt_content.php
Normal file
14
Configuration/TCA/Overrides/tt_content.php
Normal 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',
|
||||
);
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue