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.
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 CreditAttribution: jbrown commentedThanks for this!
I'll have time to review it next week.
Comment #2
jbrown CreditAttribution: jbrown commentedSorry for the delay!
I was able to simplify it further: http://drupalcode.org/project/storage_api.git/commitdiff/d0f5fdd