Get field value from referenced entity in twig loop I have a content type with a multiple referenced field and I need to iterate trough each item and display the item information in a table but I don't know and didn't find a way to access the content field information like the value of a specific field.

Example:
I have a content type called Task and in Task I have multiple Entity Reference to Worker content type, Worker has title, name and phone. How can I iterate each worker and display the information in a table?

What I want to do is to override node--task.html.twig to do something like this:

Assuming that we have a field_workers field in task content type.

&lt;table&gt;
   &lt;thead&gt;
     &lt;tr&gt;
       &lt;th&gt;
         Name
       &lt;/th&gt;
       &lt;th&gt;
         Phone
       &lt;/th&gt;
     &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tbody&gt;
    {% for worker in content.field_workers %}
     &lt;tr&gt;
       &lt;td&gt;
        {{worker.field_name.value}}
       &lt;/td&gt;
       &lt;td&gt;
         {{worker.field_phone.value}}
       &lt;/td&gt;
     &lt;/tr&gt;
     {% endfor %}
   &lt;/tbody&gt;
&lt;/table&gt;


Is it possible? Thank you!
You want to work with node instead of content.
something like this should work
{% for item in node.field_workers %}
 {{ item.entity.field_name.value }}
{% endfor %}

See Entity API Cheat Sheet and Twig and Entity Field API or how to take control of node.html.twig (my blog post) for more information.