Feature #17611
closedAdd config of parent record for label_userFunc used on a child record
0%
Description
I have to use a label_userFunc with my extension. If I want to render different labels depending on the foreign_field, its not possible.
I wrote an XCLASS to solve this, and it's only on line in the function 'renderForeignRecordHeader' calss 't3lib_tceforms_inline'.
I submitted also the $config array within the $params and depending on this I can write different functions for the label.
It might be nice, if this line could be integrated in the next update:
55 $params = array(
56 'table' => $foreign_table,
57 'row' => $rec,
58 'title' => '',
59 'isOnSymmetricSide' => $isOnSymmetricSide,
+ 'config' => $config,
60 );
(issue imported from #M6359)
Files