humanmade / humanmade/asset-manager-framework
Allow providers to indicate supported mime types / media types
- Dominant language
- PHP
- Stars
- 188
- Forks
- 6
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 1
Description
In some contexts the media library can be opened with a media / mime type filter. Not every provider will be able to support every media type so we should filter the list of available providers depending on media type.
Proposed behaviour:
- Providers are assumed to support any media type by default
- Providers can override a method to return an array of supported mime types
- Provider should not be shown in list if it cannot provide the requested media types
Question: Should we support wild card or sub mime types like WP (sort of) does e.g. `image/*`? Would help.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.