The socialfeed_PROVIDER_posts( ) functions now return an associative array, delegating the creation of HTML to socialfeed_posts_render( ) function.
With this way you can use socialfeed_PROVIDER_posts() to take an associative array to be used in other modules or blocks.
I hope that you feel useful this change.
Bye
I.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | return_associative_array-2756339-8.patch | 2.78 KB | hilatti |
Comments
Comment #2
Yoris00 commentedComment #3
acrosmanComment #4
acrosmanI think this patch is a great idea, but I'm struggling to get it to apply. Looks like it's in need of a re-roll at this point.
Comment #5
acrosmanAttached is a reroll of the patch.
Comment #6
acrosmanI found a couple small issues during testing of the previous patch. Here's a new version.
Comment #7
acrosmanComment #8
hilatti commentedRe-rolled patch to work with latest version.
Comment #9
hemangi.gokhaleComment #11
hemangi.gokhale