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

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.

Voir aussi

template_preprocess_views_slideshow_pager_field_item()

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

Fichier

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>

Sujets associés