Actions
Feature #100184
openAdd possibility to modify inline record title for TCA type file
Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2023-03-16
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
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.
Actions