Conversion pattern for field keys in content files

Hello,

can somebody tell me, what’s the conversion pattern for field keys when they’re stored in the content file?
Is it something like Str::ucfirst(Str::slug($fieldname))?
I can’t find the corresponding file in the core folder (only found this old topic for v2).

Yes, you can find the relevant code in the Txt Data Handler, /kirby/src/Data/Txt.php

1 Like

Uhh, wasn’t completely wrong with my guess.
Thank You Sonja! :slight_smile: