Project

General

Profile

Actions

Task #88627

open

Unify DataProcessing properties

Added by Łukasz Uznański over 5 years ago. Updated almost 3 years ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2019-06-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi,

I'm currently working with DataProcessors, and I can see some incoherence (or maybe I'm missing something). For each DataProcessor except LanguageMenu and Menu, parameter 'as' is required. LanguageMenu and Menu DataProcessor provides $menuDefaults, which provides default values for e.g. 'as' property, but for LanguageMenu, property $menuDefaults is protected, and for Menu, property is set to public.

I think we should set LanguageMenu $menuDefaults to public, and add property $menuDefaults with default values for required field e.g. 'as' (and maybe other) for other DataProcessors.

In other DataProcessors, default value is hardcoded in parameter for stdWrapValue.

Let me know what do you think, and I will create patch if necessary.

Actions

Also available in: Atom PDF