views-view-fields.html.twig

views-view-fields.html.twig

Default view template to display all the fields in a row.

Available variables:

  • view: The view in use.
  • fields: A list of fields, each one contains:
    • content: The output of the field.
    • raw: The raw data for the field, if it exists. This is NOT output safe.
    • class: The safe class ID to use.
    • handler: The Views field handler controlling this field.
    • inline: Whether or not the field should be inline.
    • wrapper_element: An HTML element for a wrapper.
    • wrapper_attributes: List of attributes for wrapper element.
    • separator: An optional separator that may appear before a field.
    • label: The field's label text.
    • label_elemen