Feature #9397

Make new element types registerable

Added by Andreas Wolf almost 3 years ago. Updated about 2 years ago.

Status:Accepted Start date:2010-08-21
Priority:Must have Due date:
Assignee:Andreas Wolf % Done:

0%

Category:-
Target version:-
Complexity:
Votes: 0

Description

There should be an element registry for TCEforms. This registry should by default have all standard elements registered (via config_default.php/init.php).

It should be implemented as a singleton, maybe even a static class.

New elements should be registerable.


Related issues

blocks TCEforms Refactoring - Story #26302: As a developer, I want to be able to develop new widgets New
precedes TCEforms Refactoring - Task #9398: Define interface for elements Closed 2010-08-22 2010-08-22

History

Updated by Andreas Wolf about 2 years ago

With the new widget infrastructure, this issue has become more clear: Widget classes can have a type, that is registered in TYPO3_CONF_VARS[TCEFORMS][widgetTypes]. Additionally, all widget classes will be registered in TYPO3_CONF_VARS[TCEFORMS][widgetClasses].

All core widgets will be registered statically inside t3lib/config_default.php, additional widgets will be registered by a factory.

Also available in: Atom PDF