From f2dbdeaa24e2348be74e5c620895f3babaf3cadb Mon Sep 17 00:00:00 2001 From: Reinhard Hutter <17421-hudri@users.noreply.drupalcode.org> Date: Tue, 7 Nov 2023 09:28:15 +0000 Subject: [PATCH] Update description of with filter --- 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 277ab70..c040026 100644 --- a/docs/cheat-sheet.md +++ b/docs/cheat-sheet.md @@ -265,7 +265,7 @@ Generates a string representation for the given byte count. ``` ## With -This is an opposite of core `without` filter. +This is an opposite of core `without` filter and adds properties instead of removing it. ```twig {# Set top-level value. #} {{ content.field_image|with('#title', 'Photo'|t) }}