4 ms·
Hi, Drupal dev here. Got to the point yesterday afternoon where I'm going to have to implement exactly what you've already done in order to put out some reason
by Jgrubb 12y ago
Hi, Drupal dev here. Got to the point yesterday afternoon where I'm going to have to implement exactly what you've already done in order to put out some reasonable JSON from a node_load_multiple call. Don't suppose you have this function in a gist anywhere, do you? Please?
- chriswarbo 12y agoHere's the definition and a few tests. https://gist.github.com/Warbo/9d8425fcdd7c026c795a https://gist.github.com/Warbo/9d8425fcdd7c026c795a The SimpleTest test class probably doesn't work as-is, since it is originally derived from our own class hierarchy, but shouldn't be too hard to fix.