<?php
 
//Einbindung in die Select-Box des Komponenten-Konfiguration zum einfachen Wechsel zwischen Komponenten
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
 'tt_content',
 'CType',
  [
    'LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_interviewfrage.title',
    'mrm_be_cm_interviewfrage',
    'mrm_be_cm_interviewfrage_icon',
  ]
);
 
//Einbindung in das TCA des tt_contents
$GLOBALS['TCA']['tt_content']['columns']['pi_flexform']['config']['ds'][',mrm_be_cm_interviewfrage'] = 'FILE:EXT:mrm_be/Configuration/FlexForms/interviewfrage.xml';
$GLOBALS['TCA']['tt_content']['types']['mrm_be_cm_interviewfrage'] = [
  'showitem' => 'CType;;;1-1-1,pi_flexform;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_interviewfrage.title,',
];