layout-paragraphs-builder-section-menu.html.twig in Layout Paragraphs 2.0.x
<div class="lpb-section-menu">
<h4 class="visually-hidden">{{ 'Add Section'|t }}</h4>
<div class="lpb-section-menu__group">
{% for type in types %}
<div class="lpb-section-menu__item type-{{type.id}} is-layout">
<a class="lpb-section-menu-button" data-type="{{ type.id }}" href="#{{ type.id }}" title="{{ type.title }}">
{% if type.image %}
<img src="{{ type.image }}" alt ="" />
{% endif %}
<div>{{ type.title }}</div>
</a>
</div>
{% endfor %}
</div>
</div>
File
templates/layout-paragraphs-builder-section-menu.html.twig
View source
- <div class="lpb-section-menu">
- <h4 class="visually-hidden">{{ 'Add Section'|t }}</h4>
- <div class="lpb-section-menu__group">
- {% for type in types %}
- <div class="lpb-section-menu__item type-{{type.id}} is-layout">
- <a class="lpb-section-menu-button" data-type="{{ type.id }}" href="#{{ type.id }}" title="{{ type.title }}">
- {% if type.image %}
- <img src="{{ type.image }}" alt ="" />
- {% endif %}
- <div>{{ type.title }}</div>
- </a>
- </div>
- {% endfor %}
- </div>
- </div>