Deprecation: #79341 - TCA richtext configuration in defaultExtras dropped

See forge#79341

Description

Enabling richtext rendering for fields in the Backend record editor has been simplified.

In the past, a typical TCA configuration of a richtext field looked like:

'columns' => [
    'content' => [
        'config' => [
            'type' => 'text',
        ],
        'defaultExtras' => 'richtext:rte_transform',
    ],
];

The defaultExtras is obsolete and substituted with enableRichtext within the config section:

'columns' => [
    'content' => [
        'config' => [
            'type' => 'text',
            'enableRichtext' => true,
        ],
    ],
];

If the RTE was enabled for a specific type only, it looked like this:

'columns' => [
    'content' => [
        'config' => [
            'type' => 'text',
        ],
    ],
],
'types' => [
    'myType' => [
        'columnsOverrides' => [
            'aField' => [
                'defaultExtras' => 'richtext:rte_transform',
            ],
        ],
    ],
],

This is now:

'columns' => [
    'content' => [
        'config' => [
            'type' => 'text',
        ],
    ],
],
'types' => [
    'myType' => [
        'columnsOverrides' => [
            'aField' => [
                'config' => [
                    'enableRichtext' => true,
                ],
            ],
        ],
    ],
],

Impact

Using defaultExtras to enable richtext editor will stop working in TYPO3 v9. An automatic TCA migration transfers to the new syntax in TYPO3 v8 and logs deprecations.

Affected Installations

All installations using defaultExtras for richtext configuration.

Migration

Remove the defaultExtras line and set 'enableRichtext' => true, within the config section of the field. This is allowed in columnsOverrides for specific record types, too.