copyAfterDuplFields¶
-
copyAfterDuplFields
¶ -
- Type
- string (list of field names)
- Path
- $GLOBALS['TCA'][$table]['ctrl']
- Scope
- Proc.
The fields in this list will automatically have the value of the same field from the "previous" record transferred when they are copied to the position after another record from same table.
Examples¶
Example from "tt_content" table:
'ctrl' => [
'copyAfterDuplFields' => 'colPos, sys_language_uid',
...
],
Copied!