Integration with Hook_File

Alex UA - April 19, 2009 - 21:34
Project:Media
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:gsoc, gsoc2009, gsoc2009-jmstacey
Description

Moving this issue from #407622: Handle uploaded files. The issue at the moment is that there may be a conflict with filefield if that is enabled as well.

#1

jmstacey - June 5, 2009 - 16:47

How does resource.module interact with files [the database table files] in Drupal 6, or the file interface [hook_file] in Drupal 7? I've only skimmed resource.module, but from my understanding it's set up to supersede them. Aaron mentioned a stream wrapper patch that hasn't been committed to Drupal 7 core yet, but I haven't heard any news on that.

So my question for the day: what is the plan?

#2

drewish - June 9, 2009 - 14:36

#227232: Support PHP stream wrappers is the stream wrappers patch. it needs some overhauling to move it more towards the resource module's way of operating.

#3

jmstacey - July 21, 2009 - 02:55

Drupal 6 support will need to backport the entire File API which will hopefully include stream wrappers.

 
 

Drupal is a registered trademark of Dries Buytaert.