From 77e7d425c1f040028cd9785f47f3264d27b327f4 Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauri.eskola@acquia.com> Date: Fri, 6 Nov 2020 12:28:24 +0200 Subject: [PATCH] Issue #3176914 by sarvjeetsingh: Media is missing from the available variables list in Olivero's media.html.twig --- core/themes/olivero/templates/content/media.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/themes/olivero/templates/content/media.html.twig b/core/themes/olivero/templates/content/media.html.twig index 27793653d2ad..ae8a779ace8b 100644 --- a/core/themes/olivero/templates/content/media.html.twig +++ b/core/themes/olivero/templates/content/media.html.twig @@ -4,6 +4,8 @@ * Theme override to display a media item. * * Available variables: + * - media: The media item, with limited access to object properties and + * methods. * - name: Name of the media. * - content: Media content. * -- GitLab