Active
Project:
H5P - Create and Share Rich Content and Applications
Version:
7.x-1.17
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2016 at 21:22 UTC
Updated:
20 Sep 2016 at 11:44 UTC
Jump to comment: Most recent
Comments
Comment #2
falcon commentedThey are indeed cloneable, and images etc. are cloned as well, but not using the file field api. A consequence of this is that the users quotas are currently not updated when cloning H5Ps.
Comment #3
webservant316 commentedHow are the images cloned? Are they serialized into the node? Or do they exists as files that you copy with a clone hook?
Comment #4
falcon commentedAll files belonging to a node is kept in a folder. It is in sites/default/files/h5p/content/[content-id] IIRC. That folder is copied.
Comment #5
webservant316 commentedokay thanks!
Comment #6
webservant316 commentedOkay will this then work to programmatically copy any H5P node?
Or what do I need to add?
Comment #7
falcon commentedIt probably should. I'm not sure, and I don't have the time to test it :/
Comment #8
webservant316 commentedIt appears to work in my use case, but I am concerned that I might be missing something. If you get time I would appreciate your giving it some thought.