Feature #82019
closedAccept array instead of CSV in TCA
0%
Description
There are various locations in TCA which require a CSV string of values, e.g. ctrl/searchFields
or types/N/showitem
.
To make it easer to handle this e.g. in Git one can use a multi-line string or the implode()
function to convert an array of strings back to an CSV string.
Arrays of strings should be supported natively here to streamline TCA config.
Updated by Susanne Moog almost 5 years ago
- Category set to System/Bootstrap/Configuration
Updated by Georg Ringer 13 days ago
- Status changed from New to Rejected
Hey Mathias,
to cleanup forge a bit I am closing this issue! You can - as explained - already use implode
in your custom TCA to simplify it for you.
adding on some places array options would mean to bloat the code just because we can. this feels wrong.
as nothing happened in the last 7 years, I think nothing will happen in the next time
Updated by Mathias Brodala 13 days ago
I don't really understand that reasoning. Newly introduced code avoids CSV strings for the well-known reasons. So it makes sense to migrate old code from CSV to more structured formats. This could be defined as a long-term goal and would surely touch many locations.