By bkraegelin on
I neeed some conditionals and some fields in content and want to use TWIG syntax for that purpose.
I made a very small (nearly empty) Theme for outputting my fields. But I don't know how to render content.
I have a similar website on WP where I use compile_string in PHP Template.
How to do that in Drupal without writing a Module?
Would it be possible to use template_from_string() to include content as template?
How do I enable the StringLoader?
Thanks for any help
Birger