Project

General

Profile

Actions

Bug #68678

closed

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

Added by Sebastian Fischer over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
Start date:
2015-07-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Gerrit Code Review over 8 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

Actions #2

Updated by Gerrit Code Review over 8 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

Actions #3

Updated by Gerrit Code Review over 8 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

Actions #4

Updated by Gerrit Code Review over 8 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

Actions #5

Updated by Benni Mack over 8 years ago

  • Status changed from Under Review to Closed

this is now possible via TypoScript in v7.

Actions #6

Updated by Björn Jacob over 8 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.

Actions

Also available in: Atom PDF