title: drupal 8 twig: Get the fields from a reference entity (content type) in a Paragraph field
body: <p>I have a paragraph field that is a reference entity to the Customer Testimonial content type. A content editor can add the customer-testimonial paragraph and type the name of the testimonial. This will then display the text on the website.</p>
  
  <p>I have made a paragraph--c15a-customer-testimonial.html.twig template file with the following code.</p>
  
  <pre><code>{% set c15a = { 'title': content.field_testimonial.entity.field_testimonial_titel } %}
  
  &lt;div class="component c15a"&gt;
      &lt;div&gt;
          &lt;div&gt;Testimonial title&lt;/div&gt;
          &lt;h2&gt;{{ c15a.title }}&lt;/h2&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Of course, this prints nothing. How can I get the fields from the content type I'm referencing in my paragraph?</p>
  
  <p>Thx,</p>