4fd6b968a0ccd61bab8db4850a992f45e5b903a7
[yaffs-website] / vendor / drupal / console / templates / module / templates / entity-html.twig
1 {{ '{#' }}
2 /**
3  * @file {{ entity_name }}.html.twig
4  * Default theme implementation to present {{ label }} data.
5  *
6  * This template is used when viewing {{ label }} pages.
7  *
8  *
9  * Available variables:
10  * - content: A list of content items. Use 'content' to print all content, or
11  * - attributes: HTML attributes for the container element.
12  *
13  * @see template_preprocess_{{ entity_name }}()
14  *
15  * @ingroup themeable
16  */
17 {{ '#}' }}
18 <div{{ '{{' }} attributes.addClass('{{ entity_name }}') {{ '}}' }}>
19   {{ '{%' }} if content {{ '%}' }}
20     {{ '{{' }}- content -{{ '}}' }}
21   {{ '{%' }} endif {{ '%}' }}
22 </div>