TCA: Extending "behaviour" for IRRE fields with "disableCopyingChildrenWithParent"
It would be a great feature to extend the "behaviour" for IRRE fields with an option called "disableCopyingChildrenWithParent" (related to "disableMovingChildrenWithParent"). In some cases it might be neccessary to disable to copying of children, for example when having a bidirectional relation "ModelA <1:n> ModelB <n:1>".
$TCA['tx_myext_table']['columns']['field'] = array(
'config' => array(
'type' => 'inline',
'foreign_table' => '...',
'appearance' => array(
'behaviour' => array(
'disableMovingChildrenWithParent' => 1,
'disableCopyingChildrenWithParent' => 1,
'localizationMode' => 'select',
'localizeChildrenAtParentLocalization' => 1,
#5 Updated by Mathias Brodala 6 months ago
Here's a very basic patch which implements this for TYPO3v8.
#7 Updated by Mathias Brodala 25 days ago
Here's the patch refreshed for TYPO3v9.