Hello good people!
I have a form. When the user submits it, the yaml file in the user/data folder is created. Let's call it "file.yaml". So the path looks like this: "user/data/my-form/file.yaml". It has following content:
value: 123
Is there any way how I can display this value in the TWIG template of my theme? I tried something like:
{{ get('user://data/my-form/file.yaml').value }}
But it doesn't work.
Thanks a lot in advance!