simple-mega-menu-content-add-list.html.twig in Simple Mega Menu 8
Same filename and directory in other branches
Default theme implementation to present a list of custom content entity types/bundles.
Available variables:
- types: A collection of all the available custom entity types/bundles.
Each type/bundle contains the following:
- link: A link to add a content entity of this type.
- description: A description of this content entity types/bundle.
See also
template_preprocess_simple_mega_menu_content_add_list()
File
templates/simple-mega-menu-content-add-list.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to present a list of custom content entity types/bundles.
- *
- * Available variables:
- * - types: A collection of all the available custom entity types/bundles.
- * Each type/bundle contains the following:
- * - link: A link to add a content entity of this type.
- * - description: A description of this content entity types/bundle.
- *
- * @see template_preprocess_simple_mega_menu_content_add_list()
- *
- * @ingroup themeable
- */
- #}
- {% spaceless %}
- <dl>
- {% for type in types %}
- <dt>{{ type.link }}</dt>
- {% endfor %}
- </dl>
- {% endspaceless %}