Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
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!