Editing a content element, the select-list for CType is quite messy, because unlike for the newContentElementWizard the content-elements are not grouped here yet.
To implement the new feature #91008 is quite easy:
Edit Configuration/TCA/Overrides/102_tt_content.php to use new API:
Edit all content-element TCA definitions to add the group key, e.g. for 200_content_element_accordion.php:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.accordion',
'accordion',
'content-bootstrappackage-accordion',
'bootstrap_package' // add the group item name here as 4th parameter
],
'--div--',
'after'
);
Editing a content element, the select-list for CType is quite messy, because unlike for the newContentElementWizard the content-elements are not grouped here yet.
To implement the new feature #91008 is quite easy:
Edit
Configuration/TCA/Overrides/102_tt_content.php
to use new API:Edit all content-element TCA definitions to add the group key, e.g. for
200_content_element_accordion.php
: