Edit on GitHub
Jump to docs navigation

Twig Components / Methods / media

media(unknown?) is a Twig function to return the media array associated with the field.

Note, this should only be used with image and file fields.


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.