Skip to content

Commit

Permalink
Update Documentation/ApiOverview/SiteHandling/SiteSettingDefinitions.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Frömken <[email protected]>
  • Loading branch information
linawolf and froemken committed Sep 20, 2024
1 parent 5a6eb5f commit fd45b59
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,9 @@ Definition types
:type: string
:Path: settings.[my_val].type = stringlist

The value must be an array whose array keys start at 0 and increase by 1 per
element. The list in this type is derived from the internal PHP method
`array_is_list` and has nothing to do with the fact that comma-separated
lists can also be converted here.
The value must be an array whose array key starts at 0 and increases by 1 per element. This sequence is
checked using the internal PHP method array_is_list in order to prevent named array keys from the outset.
This also means that comma-separated lists cannot be converted here.

The `string` type is executed for each array entry.

Expand Down

0 comments on commit fd45b59

Please sign in to comment.