Actions
Feature #81089
closedImprove TCA configuration with utility functions and constants
Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-04-30
Due date:
% Done:
0%
Estimated time:
PHP Version:
7.1
Tags:
TCA
Complexity:
Sprint Focus:
Description
Improving the TCA configuration with utility functions and constants would be really nice.
Possible functions:- getRichtextEditorTCAConfig(...)
- getLinkWizardTCAConfig(...)
So actually something like ExtensionManagementUtility::getFileFieldTCAConfig for wizards, richtext fields, select fields, etc.
Possible constants:- TYPE_SELECT = 'select', TYPE_INPUT = 'input', ...
- RENDER_TYPE_SELECT_MULTIPLE_SIDE_BY_SIDE = 'selectMultipleSideBySide', RENDER_TYPE_SELECT_SINGLE='selectSingle'
- EVAL_TRIM = 'trim', EVAL_NOSPACE = 'nospace'
- IDE code completion
- IDE could inform about deprecated constants/functions
- Avoids typos
- Avoids duplicate code
- Easier refactoring
Updated by Georg Ringer over 4 years ago
- Status changed from New to Closed
Thanks for creating this issue. It is absolutly true that creating TCA from scratch is too hard and will lead to many mistakes.
However I am closing this issue because this needs thoughts on so many more areas and something like mask or dce and not just some utility classes as shorthand for complicated tca structures.
Actions