Accessing subfield data in twig

You have a compound field with subfields (like the body field) and want to access a subfield in twig? Not a problem.

Let's say your field is field_mystuff and the subfield is url. In twig, you would access it like this:

{{ content.field_mystuff.url }}


Of course, the Drupal Community isn't the only place to give back. It's a complex world, and there are as many worthy causes as their are melodies, with most being served by multiple charitable organizations. Here are a few of those that strike a 7th chord with me.