Commit c8a3f998 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader

[TASK] Extend TCA shadowColumns instead of overriding them

ext:irre_tutorial is extending corresponding TCA settings now.

Resolves: #89624
Resolves: master, 9.5, 8.7
Change-Id: I943a343d37808b38c4c6b14164e12380cc316dba
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62258Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 9bfad5f3
......@@ -3,8 +3,8 @@
// Show copied tt_content records in frontend request
$GLOBALS['TCA']['tt_content']['ctrl']['hideAtCopy'] = false;
$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForMovePlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders'] .= ',tx_irretutorial_1ncsv_hotels';
$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForMovePlaceholders'] .= ',tx_irretutorial_1ncsv_hotels';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'tt_content',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment