Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / templates / entity-with-bundle-content-add-list-html.twig
1 {{ '{#' }}
2 /**
3  * @file
4  * Default theme implementation to present a list of custom content entity types/bundles.
5  *
6  * Available variables:
7  * - types: A collection of all the available custom entity types/bundles.
8  *   Each type/bundle contains the following:
9  *   - link: A link to add a content entity of this type.
10  *   - description: A description of this content entity types/bundle.
11  *
12  * @see template_preprocess_{{ entity_name }}_content_add_list()
13  *
14  * @ingroup themeable
15  */
16 {{ '#}' }}
17 {{ '{%' }} spaceless {{ '%}' }}
18   <dl>
19     {{ '{%' }} for type in types {{ '%}' }}
20       <dt>{{ '{{' }} type.link {{ '}}' }}</dt>
21     {{ '{%' }} endfor {{ '%}' }}
22   </dl>
23 {{ '{%' }} endspaceless {{ '%}' }}