You are here

views-row-insert.html.twig in Views Row Insert 8

Default theme implementation to output a Views Row Insert display style plugin.

Available variables:

  • rows_insert: A list of processed row items by Views Row Insert plugin.

    • attributes: The row's HTML attributes.
    • content: The row's content.
  • rows: A list of the view's original row items.
    • attributes: The row's HTML attributes.
    • content: The row's content.
  • view: The view object.
  • use_plugin: A flag for plugin usage

File

templates/views-row-insert.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to output a Views Row Insert display style plugin.
  5. *
  6. * Available variables:
  7. * - rows_insert: A list of processed row items by Views Row Insert plugin.
  8. * - attributes: The row's HTML attributes.
  9. * - content: The row's content.
  10. * - rows: A list of the view's original row items.
  11. * - attributes: The row's HTML attributes.
  12. * - content: The row's content.
  13. * - view: The view object.
  14. * - use_plugin: A flag for plugin usage
  15. *
  16. * @ingroup themeable
  17. */
  18. #}
  19. {% if use_plugin %}
  20. {% set rows = rows_insert %}
  21. {% endif %}
  22. {% for row in rows %}
  23. <div{{ row.attributes }}>
  24. {{ row.content | raw }}
  25. </div>
  26. {% endfor %}