Skip to content

Tag: drupal-8

How to access to node fields in drupal 8

I’m having some issues, I’m loading some nodes and i want to get some values field, this is how is my field I’m loading my nodes like this: But i dont know how to get en fr and pt fields values Could you please help me? Regards Mario Answer You can load translation for each language then get…

Foreach image uploaded in a Node Content : get the url

I’m beginning with Drupal 8 and I want to get the url of the photos in the content I create to display them. The context is: a photograph upload pictures for a customer. This customer can see it on a page. To get this data in common I created a content for my shooting with an id. What i did