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
Actions