Issue Feature Accepted Stale

#100184Add possibility to modify inline record title for TCA type file

Willi Wehmeier 03/16/23, 10:50 updated 08/06/26, 15:48

Description

The introduced TCA type file does not support any method to modify the title of the rendered inline records in the backend.
Previously it was possible to set a formattedLabel_userfunc in the TCA of the sys_file_reference table.
This method still gets called but the generated recordTitle will be ignored by the FileReferenceContainer::getRecordTitle() method.

I’d suggest to introduce a new event instead of re-implementing the userfunc functionality. This would add up the to already existing ModifyFileReferenceEnabledControlsEvent and ModifyFileReferenceControlsEvent.

Maybe something named ModifyFileReferenceLabelEvent.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] Add possibility to modify inline record title for TCA type file Resolves: #100184 Releases: main