drupal/core/themes/stable/templates/content/media.html.twig

19 lines
317 B
Twig

{#
/**
* @file
* Theme override to display a media item.
*
* Available variables:
* - name: Name of the media.
* - content: Media content.
*
* @see template_preprocess_media()
*/
#}
<article{{ attributes }}>
{{ title_suffix.contextual_links }}
{% if content %}
{{ content }}
{% endif %}
</article>