In drupal I created a view with the machine name cgv_product
.
This view contains the fields "Product Name" and "Custom Text".
In the "Custom Text" field, the {{ name }}
token is available to display the product number.
I created a template with the name views-view-fields--cgv_produit.html.twig
it works but if I put the token {{ name }}
in the code, the token is not rendered.
How to display the product name token in my template ?
views-view-fields--cgv_product.html.twig