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.
Hi!
1. Set in field "Allowed file extensions for uploaded files" in field settings, for example, "pdf".
2. Go to add/node/same-type and click "Select media". Then go to "Library" tab.
3. There are all files, which are in public directory, which are allowed by general media browse settings.
Is this feature or bug? If features, how implement mime type filter by "Allowed file extensions for uploaded files"?
module version - 1.3
Comments
Comment #1
epocalips CreditAttribution: epocalips commentedI found path in hook_menu() - admin/config/media/rebuild_types
When go to this path, types rebilded. How will make it, when you deploy?
Comment #1.0
epocalips CreditAttribution: epocalips commentedadd version
Comment #2
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