favlist-item-list.html.twig in Favorites 8.2
Theme override for an item list.
Available variables:
- items: A list of items. Each item contains:
- attributes: HTML attributes to be applied to each list item.
- value: The content of the list element.
 
- title: The title of the list.
- list_type: The tag for list element ("ul" or "ol").
- attributes: HTML attributes to be applied to the list.
- empty: A message to display when there are no items. Allowed value is a string or render array.
See also
1 theme call to favlist-item-list.html.twig
- FavBlock::build in src/Plugin/ Block/ FavBlock.php 
- Builds and returns the renderable array for this block plugin.
File
templates/favlist-item-list.html.twigView source
- {#
- /**
-  * @file
-  * Theme override for an item list.
-  *
-  * Available variables:
-  * - items: A list of items. Each item contains:
-  *   - attributes: HTML attributes to be applied to each list item.
-  *   - value: The content of the list element.
-  * - title: The title of the list.
-  * - list_type: The tag for list element ("ul" or "ol").
-  * - attributes: HTML attributes to be applied to the list.
-  * - empty: A message to display when there are no items. Allowed value is a
-  *   string or render array.
-  *
-  * @see template_preprocess_item_list()
-  */
- #}
- <div class="item-list" id="myfavlist">
-     <ul>
-         {% for list in content.items  %}
-             <li>{{ list.title_link }} <span id="del-{{ list.id }}">{{ list.remove_link }}</span></li>
-         {% endfor %}    
-     </ul>
- </div>
- 
- 
