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