Browse Source

Update description of with filter

merge-requests/41/head
Reinhard Hutter 11 months ago
parent
commit
f2dbdeaa24
  1. 2
      docs/cheat-sheet.md

2
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) }}

Loading…
Cancel
Save