thuecat/Configuration/TCA/Overrides/tt_content.php
Daniel Siepmann (Codappix) 734d94f9da
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.
2024-11-28 07:41:14 +01:00

14 lines
342 B
PHP

<?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',
);