Skip to content

Commit

Permalink
[TASK] use $GLOBALS['TCA']
Browse files Browse the repository at this point in the history
  • Loading branch information
akoenig-clickstorm committed Sep 30, 2021
1 parent cd2597f commit c3894cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

//FlexForm add
$pluginSignature = str_replace('_', '', 'cs_youtube_data') . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature]='code,layout,select_key,pages,recursive';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature]='code,layout,select_key,pages,recursive';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
$pluginSignature,
'FILE:EXT:cs_youtube_data/Configuration/FlexForms/flexform_pi1.xml'
Expand Down

0 comments on commit c3894cf

Please sign in to comment.