Attention
TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
TCAdefaults¶
This allows to set or override the default
values of TCA
fields that is available
for various TCA types, for instance for type=input.
The full path of a setting include the table and the field name: TCAdefaults.[table name].[field]
This key is also available on User TSconfig level, the order of default values when creating new records in the backend is this:
Value from $GLOBALS['TCA']
Value from User TSconfig
Value from Page TSconfig (these settings)
Value from "defVals" GET variables
Value from previous record based on 'useColumnsForDefaultValues'
Example:
# Show newly created pages by default TCAdefaults.pages.hidden = 0