I've been looking around and have run into the REST and JSON:API modules but have not had much luck for what I am looking for. Any other good resources on the matter?
In Drupal, I need to change the output of a template. I'm curious where I can find out this variable chat or phone is originating from? Is this field from a content type?
{% if chat or phone%}
<ul class="utilities-list no-bullet clearfix">
There is an entity reference field in my paragraph, in which you can select a content of a certain type. I now need to print fields of the content referenced in that field in my paragraph template.
I have not yet managed to get any field printed.
I have tried the following with field_reference being the entity reference field in the paragraph:
{{ content.field_reference.0.entity.title }}
{{ content.field_reference.entity.title.value }}
and variations of it but nothing rendered anything.
I've been building a site for a while now and everything is working fine, but suddenly on one certain page I get the infamous 500 error.
So every other page works fine, but this one doesn't. There is nothing in the watchdog or the server side logs. Also the page was working fine yesterday and nothing concerning it has changed, so this is a bit weird situation.