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.
See also
1 theme call to royalslider-formatter.html.twig
- RoyalSliderFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ RoyalSliderFormatter.php - Builds a renderable array for a field value.
File
templates/royalslider-formatter.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display a formatted royalslider field.
- *
- * Available variables:
- * - royalslider_items: The items within the slider.
- *
- * @see template_preprocess_royalslider_formatter()
- *
- * @ingroup themeable
- */
- #}
- <div id="{{ attributes.id }}" class="royalslider rsDefault">
- {% for rs_item in items %}
- <div>{{ rs_item }}</div>
- {% endfor %}
- </div>