Same filename and directory in other branches
  1. 8.x-3.x templates/views-view-slideshow.html.twig 1 comment
  2. 8.x-4.x templates/views-view-slideshow.html.twig 1 comment

Default theme implementation for a views slideshow.

Available variables:

  • bottom_widget_rendered: Widget under the slideshow with controls/data.
  • skin: The skin being applied to the slideshow.
  • slideshow: The slideshow.
  • top_widget_rendered: Widget above the slideshow with controls/data.

See also

_views_slideshow_preprocess_views_view_slideshow()

File

templates/views-view-slideshow.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a views slideshow.
  5. *
  6. * Available variables:
  7. * - bottom_widget_rendered: Widget under the slideshow with controls/data.
  8. * - skin: The skin being applied to the slideshow.
  9. * - slideshow: The slideshow.
  10. * - top_widget_rendered: Widget above the slideshow with controls/data.
  11. *
  12. * @see _views_slideshow_preprocess_views_view_slideshow()
  13. *
  14. * @ingroup vss_templates
  15. */
  16. #}
  17. {% if slideshow %}
  18. <div class="skin-{{ skin }}">
  19. {% if top_widget_rendered %}
  20. <div class="views-slideshow-controls-top clearfix">
  21. {{ top_widget_rendered }}
  22. </div>
  23. {% endif %}
  24. {{ slideshow }}
  25. {% if bottom_widget_rendered %}
  26. <div class="views-slideshow-controls-bottom clearfix">
  27. {{ bottom_widget_rendered }}
  28. </div>
  29. {% endif %}
  30. </div>
  31. {% endif %}

Related topics