Drupal 8 paragraph access in views-view twig file

by Aniket   Last Updated January 12, 2018 08:07 AM

1.) I have added a paragrah with multiple field in my node form

2.) Now i have created a View and added the paragraph field and selected the Formatter as Rendered Entity

3.) In the preview section i can see all my paragraph data , as my twig debug is on i can see file suggestions where i can override the paragraph file

4.) But i want to access my paragraphs fields inside the views-view--unformatted-{{ view_machine_name }}.html.twig file

5.) I access the normal fields inside my content type using

view.field.{{ machine_name }}.getvalue(view.result[0])

6.) I can access the paragraph complete section by

view.field.{{ paragraph_machine_name }}.original_value

How can i access the fields inside the paragraph in this view file

Tags : views 8 paragraphs

Related Questions

Views: get the fields that are part of a Paragraph

Updated April 20, 2017 11:07 AM