Issue Bug Closed

#68678TYPO3\CMS\Form\Utility\FormUtility::__construct needs a hook

Sebastian Fischer 07/31/15, 16:10 updated 09/19/15, 20:14

Description

The ext:form uses the TypoScriptFactory to create each element of a form.

If the form is used in content context the method setElementType uses a
check for valid class names. These valid class names are stored in
\TYPO3\CMS\Form\Utility\FormUtility->formObjects

This property gets filled in the constructor and is protected. Therefor it
would be good to have a hook at the end of the constructor which enables
adding custom class names to allow them to be instantiated.

Reviews 1