Skip to content

Commit

Permalink
[TASK] Adjust composition of edited fields per CType
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Apr 22, 2020
1 parent 6451512 commit 86afdee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php
$GLOBALS['TCA']['tt_content']['types']['header']['inlineEditedFields'] = 'header';
$GLOBALS['TCA']['tt_content']['types']['textmedia']['inlineEditedFields'] = 'header,bodytext';
$GLOBALS['TCA']['tt_content']['types']['text']['inlineEditedFields'] = $GLOBALS['TCA']['tt_content']['types']['textmedia']['inlineEditedFields'];
$GLOBALS['TCA']['tt_content']['types']['text']['inlineEditedFields'] = 'header,bodytext';
$GLOBALS['TCA']['tt_content']['types']['textmedia']['inlineEditedFields'] = 'header,bodytext,image';
$GLOBALS['TCA']['tt_content']['types']['textpic']['inlineEditedFields'] = $GLOBALS['TCA']['tt_content']['types']['textmedia']['inlineEditedFields'];
$GLOBALS['TCA']['tt_content']['types']['image']['inlineEditedFields'] = $GLOBALS['TCA']['tt_content']['types']['textmedia']['inlineEditedFields'];
$GLOBALS['TCA']['tt_content']['types']['bullets']['inlineEditedFields'] = 'header,bullets_type,bodytext';
$GLOBALS['TCA']['tt_content']['types']['table']['inlineEditedFields'] = 'header,table_delimiter,table_caption,bodytext,table_footer';
$GLOBALS['TCA']['tt_content']['types']['uploads']['inlineEditedFields'] = 'header,media';
Expand Down

0 comments on commit 86afdee

Please sign in to comment.