Currently the core_bridge module checks the url to decide which stream wrappers to show the user. The attached patch modifies this behavior to make these checks at the form level. This will allow entities from Commerce and other packages to use Storage API. Also attached is a simple patch for the Media module to avoid any hacks in the core_bridge to fix their mistake.
| Comment | File | Size | Author |
|---|---|---|---|
| media-stream-wrapper.patch | 998 bytes | JMTorres | |
| storage_api-storage_core_bridge.patch | 5.8 KB | JMTorres |
Comments
Comment #1
jbrown commentedThanks for this!
I'll have time to review it next week.
Comment #2
jbrown commentedSorry for the delay!
I was able to simplify it further: http://drupalcode.org/project/storage_api.git/commitdiff/d0f5fdd