Issue Feature Rejected

#107264TypoScript: Multiline support for addToList() and removeFromList()

Christian Weiske 08/12/25, 08:24 updated 01/30/26, 11:17

Description

With TYPO3 v11 (and probably up to v13), TypoScript addToList() and removeFromlist() can only be used on a single line.

This leads to unreadable code like

TCEFORM.tt_content.CType.removeItems := addToList(text,textmedia,textpic,,header,bullets,uploads,table,menu_categorized_pages,menu_categorized_content,menu_recently_updated,menu_section_pages,menu_pages,menu_section,menu_sitemap,menu_sitemap_pages,menu_subpages,menu_related_pages,menu_abstract,list,div)

The code would be much more readable when I could use line breaks:

TCEFORM.tt_content.CType.removeItems := addToList(
    text,
    textmedia,
    textpic,

    header,
    bullets,
    uploads,
)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.