[!!!][FEATURE] FormEngine element level refactoring
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / Yaml / FormEngineSetup.yaml
1 TYPO3:
2   CMS:
3     Form:
4       prototypes:
5         standard:
6           ########### TCE Forms CONFIGURATION ###########
7
8           ### FINISHERS ###
9           finishersDefinition:
10             EmailToSender:
11               FormEngine:
12                 __inheritances:
13                   10: 'TYPO3.CMS.Form.mixins.FormEngineEmailMixin'
14
15             EmailToReceiver:
16               FormEngine:
17                 __inheritances:
18                   10: 'TYPO3.CMS.Form.mixins.FormEngineEmailMixin'
19                 label: 'tt_content.finishersDefinition.EmailToReceiver.label'
20                 elements:
21                   subject:
22                     label: 'tt_content.finishersDefinition.EmailToReceiver.subject.label'
23                   recipientAddress:
24                     label: 'tt_content.finishersDefinition.EmailToReceiver.recipientAddress.label'
25                   recipientName:
26                     label: 'tt_content.finishersDefinition.EmailToReceiver.recipientName.label'
27                   senderAddress:
28                     label: 'tt_content.finishersDefinition.EmailToReceiver.senderAddress.label'
29                   senderName:
30                     label: 'tt_content.finishersDefinition.EmailToReceiver.senderName.label'
31                   replyToAddress:
32                     label: 'tt_content.finishersDefinition.EmailToReceiver.replyToAddress.label'
33                   carbonCopyAddress:
34                     label: 'tt_content.finishersDefinition.EmailToReceiver.carbonCopyAddress.label'
35                   blindCarbonCopyAddress:
36                     label: 'tt_content.finishersDefinition.EmailToReceiver.blindCarbonCopyAddress.label'
37                   format:
38                     label: 'tt_content.finishersDefinition.EmailToReceiver.format.label'
39                   translation:
40                     language:
41                       label: 'tt_content.finishersDefinition.EmailToReceiver.language.label'
42                       config:
43                         type: select
44                         renderType: 'selectSingle'
45                         minitems: 1
46                         maxitems: 1
47                         size: 1
48                         items:
49                           10:
50                             0: 'tt_content.finishersDefinition.EmailToReceiver.language.1'
51                             1: 'default'
52
53             Redirect:
54               FormEngine:
55                 __inheritances:
56                   10: 'TYPO3.CMS.Form.mixins.FormEngineTranslationSettingsMixin'
57                 label: 'tt_content.finishersDefinition.Redirect.label'
58                 elements:
59                   pageUid:
60                     label: 'tt_content.finishersDefinition.Redirect.pageUid.label'
61                     config:
62                       type: 'group'
63                       internal_type: 'db'
64                       allowed: 'pages'
65                       size: 1
66                       minitems: 1
67                       maxitems: 1
68                       fieldWizard:
69                         recordOverview:
70                           disabled: 1
71                   additionalParameters:
72                     label: 'tt_content.finishersDefinition.Redirect.additionalParameters.label'
73                     config:
74                       type: 'input'
75
76       ########### MIXINS ###########
77       mixins:
78         FormEngineTranslationSettingsMixin:
79           translationFile: 'EXT:form/Resources/Private/Language/Database.xlf'
80
81         FormEngineEmailMixin:
82           __inheritances:
83             10: 'TYPO3.CMS.Form.mixins.FormEngineTranslationSettingsMixin'
84           label: 'tt_content.finishersDefinition.EmailToSender.label'
85           elements:
86             subject:
87               label: 'tt_content.finishersDefinition.EmailToSender.subject.label'
88               config:
89                 type: 'input'
90             recipientAddress:
91               label: 'tt_content.finishersDefinition.EmailToSender.recipientAddress.label'
92               config:
93                 type: 'input'
94                 eval: 'required'
95             recipientName:
96               label: 'tt_content.finishersDefinition.EmailToSender.recipientName.label'
97               config:
98                 type: 'input'
99             senderAddress:
100               label: 'tt_content.finishersDefinition.EmailToSender.senderAddress.label'
101               config:
102                 type: 'input'
103                 eval: 'required'
104             senderName:
105               label: 'tt_content.finishersDefinition.EmailToSender.senderName.label'
106               config:
107                 type: 'input'
108             replyToAddress:
109               label: 'tt_content.finishersDefinition.EmailToSender.replyToAddress.label'
110               config:
111                 type: 'input'
112             carbonCopyAddress:
113               label: 'tt_content.finishersDefinition.EmailToSender.carbonCopyAddress.label'
114               config:
115                 type: 'input'
116             blindCarbonCopyAddress:
117               label: 'tt_content.finishersDefinition.EmailToSender.blindCarbonCopyAddress.label'
118               config:
119                 type: 'input'
120             format:
121               label: 'tt_content.finishersDefinition.EmailToSender.format.label'
122               config:
123                 type: select
124                 renderType: 'selectSingle'
125                 minitems: 1
126                 maxitems: 1
127                 size: 1
128                 items:
129                   10:
130                     0: 'tt_content.finishersDefinition.EmailToSender.format.1'
131                     1: 'html'
132                   20:
133                     0: 'tt_content.finishersDefinition.EmailToSender.format.2'
134                     1: 'plaintext'