custom_elements-8.x-2.x-dev/templates/custom-element.html.twig
templates/custom-element.html.twig
{#
/**
* @file
* Default theme implementation for displaying an custom elements entity.
*
* Available variables:
* - tag_prefix: Prefix to use for the html tag - including the prefix separator.
* - tag: HTML tag to use for the entity.
* - attributes: The attributes to add to the tag.
* - slots: An array of renderable slot entries.
*
* @ingroup themeable
*/
#}
<{{ tag_prefix }}{{ tag }}{{ attributes }}>
{%- for slot in slots %}{{ slot }}{% endfor -%}
</{{ tag_prefix }}{{ tag }}>
