You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time a media is viewed, check its fields for a referenced file or image (currently field_file or field_iage) and expose the file's URL as a link header.
You have access to the media and can add link headers in hook_media_view_alter like so:
Every time a media is viewed, check its fields for a referenced file or image (currently field_file or field_iage) and expose the file's URL as a link header.
You have access to the media and can add link headers in hook_media_view_alter like so:
Use "describes" for the link header's rel value.
The text was updated successfully, but these errors were encountered: