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

Default theme implementation for a views slideshow pager item.

Available variables:

  • classes: Classes to apply to the element.
  • count: The page number.
  • location: Location of pager.
  • item: Rendered field(s) making up item.
  • vss_id: The slideshow's id.

See also

template_preprocess_views_slideshow_pager_field_item()

2 theme calls to views-slideshow-pager-field-item.html.twig
template_preprocess_views_slideshow_pager_fields in ./views_slideshow.theme.inc
Theme pager fields.
_views_slideshow_cycle_preprocess_views_slideshow_pager_fields in modules/views_slideshow_cycle/views_slideshow_cycle.theme.inc
Implements hook_preprocess_views_slideshow_pager_fields().

File

templates/views-slideshow-pager-field-item.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a views slideshow pager item.
  5. *
  6. * Available variables:
  7. * - classes: Classes to apply to the element.
  8. * - count: The page number.
  9. * - location: Location of pager.
  10. * - item: Rendered field(s) making up item.
  11. * - vss_id: The slideshow's id.
  12. *
  13. * @see template_preprocess_views_slideshow_pager_field_item()
  14. *
  15. * @ingroup vss_templates
  16. */
  17. #}
  18. <div id="views_slideshow_pager_field_item_{{ location }}_{{ vss_id }}_{{ count }}" {{ attributes.addClass(classes) }}>
  19. {{ item }}
  20. </div>

Related topics