You are here

royalslider-formatter.html.twig in RoyalSlider Integration 8

Default theme implementation to display a formatted royalslider field.

Available variables:

  • royalslider_items: The items within the slider.

File

templates/royalslider-formatter.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a formatted royalslider field.
  5. *
  6. * Available variables:
  7. * - royalslider_items: The items within the slider.
  8. *
  9. * @see template_preprocess_royalslider_formatter()
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <div id="{{ attributes.id }}" class="royalslider rsDefault">
  15. {% for rs_item in items %}
  16. <div>{{ rs_item }}</div>
  17. {% endfor %}
  18. </div>