Bug #68678
closedTYPO3\CMS\Form\Utility\FormUtility::__construct needs a hook
0%
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.
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42211
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42211
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42211
Updated by Gerrit Code Review about 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42211
Updated by Benni Mack about 9 years ago
- Status changed from Under Review to Closed
this is now possible via TypoScript in v7.
Updated by Björn Jacob about 9 years ago
@Sebastian Kurfuerst: please test the rewritten EXT:form. You should be able to add new elements using TypoScript. If the new solution is not enough please open a new ticket with your feature request. Thx.