Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch replaces theme_list_formatter_comma
with a Twig template.
Comment | File | Size | Author |
---|---|---|---|
#7 | 2942617-6.patch | 4.01 KB | junaidpv |
#6 | 2942617_list_formatter_comma_5.patch | 4.04 KB | brunodbo |
#4 | 2942617_list_formatter_comma_4.patch | 4.04 KB | brunodbo |
#2 | 2942617_list_formatter_comma_1.patch | 3.97 KB | brunodbo |
Comments
Comment #2
brunodboComment #3
brunodboComment #4
brunodboThis uses the formatter settings directly in the template, since we don't need the whole
$formatter
in there. (Note that this patch is now dependent on the patch in #2942348: Allow 'List' field formatter to be used in view mode configuration).Comment #5
joelpittetMinor but you don't need a space before
{{ attributes }}
Comment #6
brunodboRemoved the space before
{{ attributes }}
.Comment #7
junaidpvRe-rolled for current branch.
Comment #8
Maks Oleksyuk CreditAttribution: Maks Oleksyuk as a volunteer commented