Skip to content

Commit 8ce73b0

Browse files
authored
Merge pull request #157 from andreaswolf/feature-create-docs-dynamic-branch-20240615112556
[DOCS] Generate documentation
2 parents f60ea7e + 63cd7d7 commit 8ce73b0

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

packages/typo3-fractor/docs/typo3-fractor-rules.md

+40-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 9 Rules Overview
1+
# 10 Rules Overview
22

33
## AbstractMessageGetSeverityFluidRector
44

@@ -178,6 +178,45 @@ Migrate password and salted password to password type
178178

179179
<br>
180180

181+
## MigrateRenderTypeColorpickerToTypeColorFlexFormFractor
182+
183+
Migrate renderType colorpicker to type color
184+
185+
- class: [`a9f\Typo3Fractor\TYPO3v12\FlexForm\MigrateRenderTypeColorpickerToTypeColorFlexFormFractor`](../rules/TYPO3v12/FlexForm/MigrateRenderTypeColorpickerToTypeColorFlexFormFractor.php)
186+
187+
```diff
188+
<T3DataStructure>
189+
<ROOT>
190+
<sheetTitle>aTitle</sheetTitle>
191+
<type>array</type>
192+
<el>
193+
<a_color_field>
194+
<label>Color field</label>
195+
<config>
196+
- <type>input</type>
197+
- <renderType>colorpicker</renderType>
198+
+ <type>color</type>
199+
<required>1</required>
200+
<size>20</size>
201+
- <max>1234</max>
202+
- <eval>trim,null</eval>
203+
<valuePicker>
204+
<items type="array">
205+
<numIndex index="0" type="array">
206+
<numIndex index="0">typo3 orange</numIndex>
207+
<numIndex index="1">#FF8700</numIndex>
208+
</numIndex>
209+
</items>
210+
</valuePicker>
211+
</config>
212+
</a_color_field>
213+
</el>
214+
</ROOT>
215+
</T3DataStructure>
216+
```
217+
218+
<br>
219+
181220
## RemoveNoCacheHashAndUseCacheHashAttributeFractor
182221

183222
Remove noCacheHash="1" and useCacheHash="1" attribute

0 commit comments

Comments
 (0)