Render field values in node template Hello I'm working on a module,
I currently have an array with Node objects (custom content types),
I am passing this array to a custom template (twig) but I can not render it with the values of its fields.

For example:

The dump object of the data that is coming to the template

array:2 [▼
  0 =&gt; Node {#564 ▼
    +in_preview: null
    #values: array:24 [▶]
    #fields: array:2 [▶]
    #fieldDefinitions: array:32 [▶]
    #languages: null
    #langcodeKey: "langcode"
    #defaultLangcodeKey: "default_langcode"
    #activeLangcode: "x-default"
    #defaultLangcode: "es"
    #translations: array:1 [▶]
    #translationInitialize: false
    #newRevision: false
    #isDefaultRevision: "1"
    #entityKeys: array:4 [▶]
    #translatableEntityKeys: array:7 [▶]
    #validated: false
    #validationRequired: false
    #loadedRevisionId: "9"
    #revisionTranslationAffectedKey: "revision_translation_affected"
    #enforceRevisionTranslationAffected: []
    #entityTypeId: "node"
    #enforceIsNew: null
    #typedData: EntityAdapter {#1065 ▶}
    #cacheContexts: []
    #cacheTags: []
    #cacheMaxAge: -1
    #_serviceIds: []
  }
  1 =&gt; Node {#562 ▼
    +in_preview: null
    #values: array:24 [▶]
    #fields: array:2 [▶]
    #fieldDefinitions: array:32 [▶]
    #languages: null
    #langcodeKey: "langcode"
    #defaultLangcodeKey: "default_langcode"
    #activeLangcode: "x-default"
    #defaultLangcode: "es"
    #translations: array:1 [▶]
    #translationInitialize: false
    #newRevision: false
    #isDefaultRevision: "1"
    #entityKeys: array:4 [▶]
    #translatableEntityKeys: array:7 [▶]
    #validated: false
    #validationRequired: false
    #loadedRevisionId: "10"
    #revisionTranslationAffectedKey: "revision_translation_affected"
    #enforceRevisionTranslationAffected: []
    #entityTypeId: "node"
    #enforceIsNew: null
    #typedData: EntityAdapter {#1198 ▶}
    #cacheContexts: []
    #cacheTags: []
    #cacheMaxAge: -1
    #_serviceIds: []
  }
]


As you can see, the data is inside the key #values

#values: array:24 [▼
      "vid" =&gt; array:1 [▶]
      "langcode" =&gt; array:1 [▶]
      "revision_uid" =&gt; array:1 [▶]
      "revision_timestamp" =&gt; array:1 [▶]
      "revision_log" =&gt; array:1 [▶]
      "revision_default" =&gt; array:1 [▶]
      "nid" =&gt; array:1 [▶]
      "type" =&gt; array:1 [▶]
      "uuid" =&gt; array:1 [▶]
      "isDefaultRevision" =&gt; array:1 [▶]
      "status" =&gt; array:1 [▶]
      "title" =&gt; array:1 [▶]
      "uid" =&gt; array:1 [▶]
      "created" =&gt; array:1 [▶]
      "changed" =&gt; array:1 [▶]
      "promote" =&gt; array:1 [▶]
      "sticky" =&gt; array:1 [▶]
      "default_langcode" =&gt; array:1 [▶]
      "revision_translation_affected" =&gt; array:1 [▶]
      "field_custom_title" =&gt; array:1 [▶]

    ]


The twig template:

&lt;ul&gt;
    {% for node in nodos %}
        &lt;li&gt;{{ node.field_custom_title}}&lt;/li&gt; #not work
    {% endfor %}
&lt;/ul&gt;


How do I get the values of the fields from twig?
The solution was simpler than I thought, it was simply using 

{{ node.field_custom_title.value }}