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.
At the moment it looks like the $recursion queue check that goes on in file_entity_field_formatter_view() is so strict that it doesn't allow you to make greatly intelligent use of the 'rendered_file' in other view modes.
I propose we decrease it's checks to allow recursion as long as it's for a different view mode.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | media.1700456.01.patch | 2.17 KB | jamsilver |
Comments
Comment #1
jamsilver CreditAttribution: jamsilver commentedPatch attached.
Comment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team