Issue Feature Accepted Orphaned

#58611TCA: Extending "behaviour" for IRRE fields with "disableCopyingChildrenWithParent"

Jan Kornblum 05/07/14, 18:46 updated 05/24/23, 18:53

Description

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>“.</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,
)
),
);

Reviews 1

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch

Commit message
[FEATURE] TCA: Extending "behaviour" for IRRE fields with "disableCopyingChildrenWithParent" Resolves: #58611 Releases: main