From adcf39754bd47c29b29dae31ef7beb67dd6cdd33 Mon Sep 17 00:00:00 2001 From: Julian Pustkuchen <3110-Anybody@users.noreply.drupalcode.org> Date: Sat, 27 May 2023 05:28:31 +0000 Subject: [PATCH] Issue #3356079: Is the drupal_image() responsive parameter example correct? --- docs/cheat-sheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cheat-sheet.md b/docs/cheat-sheet.md index af0b102..6b5fefc 100644 --- a/docs/cheat-sheet.md +++ b/docs/cheat-sheet.md @@ -102,7 +102,7 @@ See [rendering blocks with Twig Tweak](blocks.md#block-plugin) for details. {# Render image using 'thumbnail' image style and custom attributes. #} {{ drupal_image('public://ocean.jpg', 'thumbnail', {alt: 'The alternative text'|t, title: 'The title text'|t}) }} -{# Render responsive image. #} +{# Render responsive image (using a named argument). #} {{ drupal_image('public://ocean.jpg', 'wide', responsive=true) }} ```