Skip to content

Commit

Permalink
[DOCS] Generate documentation
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
simonschaufi authored and github-actions[bot] committed Oct 12, 2023
1 parent 60a1708 commit 7f67a36
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion docs/all_rectors_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 280 Rules Overview
# 281 Rules Overview

## AbstractMessageGetSeverityFluidRector

Expand Down Expand Up @@ -1589,6 +1589,39 @@ Migrates indexed item array keys to associative for type select, radio and check

<br>

## MigrateItemsToIndexedArrayKeysForFlexFormItemsRector

Migrates indexed item array keys to associative for type select, radio and check in FlexForms. This Rector Rule is sponsored by UDG Rhein-Main GmbH

- class: [`Ssch\TYPO3Rector\Rector\v12\v3\flexform\MigrateItemsToIndexedArrayKeysForFlexFormItemsRector`](../src/Rector/v12/v3/flexform/MigrateItemsToIndexedArrayKeysForFlexFormItemsRector.php)

```diff
<select_single_1>
<label>select_single_1 description</label>
<description>field description</description>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0">
- <numIndex index="0">Label 1</numIndex>
- <numIndex index="1">value1</numIndex>
+ <label>Label 1</label>
+ <value>value1</value>
</numIndex>
<numIndex index="1">
- <numIndex index="0">Label 2</numIndex>
- <numIndex index="1">value2</numIndex>
+ <label>Label 2</label>
+ <value>value2</value>
</numIndex>
</items>
</config>
</select_single_1>
```

<br>

## MigrateLanguageFieldToTcaTypeLanguageRector

use the new TCA type language instead of foreign_table => sys_language for selecting a records
Expand Down

0 comments on commit 7f67a36

Please sign in to comment.