EclipseGc pointed me that I should be using the ctools_export_crud_* functions but I replied that there was no way to use those and return multiple objects rather than just a single one.
EclipseGc pointed me that I should be using the ctools_export_crud_* functions but I replied that there was no way to use those and return multiple objects rather than just a single one.
Comments
Comment #1
dave reidThe following patch adds a ctools_export_crud_load_multiple() function and also adds support for a 'load multiple callback' hook. I debated having ctools_export_crud_load() re-use ctools_export_crud_load_multiple() like our core single-load functions typically re-use the multiple load functions but this would have complicated logic with having to support both 'load multiple callback' as well as 'load callback'.
Comment #2
dave reidFound some documentation fixes.
Comment #3
dave reidAnd another.
Comment #4
dave reidI swear I'm gunna find them all.
Comment #5
dave reidComment #6
dave reidPatching with cat on y our arms is hard.
Comment #7
dave reidBumping API version as well.
Comment #8
dave reidFixed error with the example mymodule_myobj_load_multiple() func.
Comment #9
merlinofchaos commentedCommitted!
Thanks a lot, this is a great feature!
Comment #10
dave reidTagging that this came from the metatags sprint.
Comment #12
patcon commentedPatch that will work for drush_make against rc1