Feature #34283
closed
Task #33745: Integrate File Abstraction Layer
IRRE - Possibility to render custom header controls
Added by Oliver Hader about 12 years ago.
Updated over 6 years ago.
Description
Render custom header controls by using a render function
defined in TCA field configuration customControls/userFunc
- Status changed from New to Under Review
I would propose this change.
simplify the api by using $customControlConfig directly as input for t3lib_div::callUserFunction(). a call would then look like
'customControls' => array(
'fo' => 'EXT:news/Classes/Hooks/Test.php:Tx_News_Hooks_Test->user_fo',
),
instead of
'customControls' => array(
'fo' => array(
'userFunc' => 'EXT:news/Classes/Hooks/Test.php:Tx_News_Hooks_Test->user_fo'
),
),
you see this is much easier.
customControlConfig is IMO not needed inside the hook because $config is added which includes the customcontrols too.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF