Project

General

Profile

Actions

Feature #58611

open

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

Added by Jan Kornblum over 10 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Must have
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2014-05-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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>".

$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,
)
),
);


Files


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #61835: Copying IRRE child records behaviour differs with certain TCA settingsAccepted2014-09-24

Actions
Actions

Also available in: Atom PDF