#70274DataPreprocessor gone? What Hook can i use to add values to new inline elements?
Description
I just recognized, that there is no \TYPO3\CMS\Backend\Form\DataPreprocessor anymore, i used one signal sent by that class to add prefilled values to new inline elements (add new inline relations with recommendation-links from parent-record).
Could you give me a hint how i may achieve similar functionallity now?
I used that signal:
TYPO3\CMS\Backend\Form\DataPreprocessor::fetchRecordPostProcessing
It took me much time to dig into tceforms that deep…
What i did:
1) check if “ajaxID” is “t3lib_TCEforms_inline::createNewRecord“
2) check if arg0 is my record
3) check if arg3 is numeric (there i passed some value)
4) manipulate the record, that is about to be returned
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.