Saving data to a site context from the front-end is a common requirement in contrib development, and a recurring question is support requests and on IRC. I propose that we add a sub-module to our existing example module (and the same in provision) that is stripped down to just the bare essentials for passing passing and retrieving such data.
Patches forthcoming...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | hosting-site_data_example-2103173-1.patch | 5.77 KB | ergonlogic |
| #1 | provision-site_data_example-2103173-1.patch | 2.09 KB | ergonlogic |
Comments
Comment #1
ergonlogicPatches attached.
Comment #2
anarcat commentedthis seems a little unusual as a log format, but otherwise, this seems like a good idea.
Comment #3
anarcat commentedComment #4
ergonlogicFixed in ca5083d and caae02e.
That drush_log entry is also setting a warning to bring attention to itself. I think for contrib, it's not necessarily a bad idea that they identify right in the log like that. But to avoid unnecessary bike-shedding, I'll gladly defer to whatever format anyone feels strongly enough to go chance it too :)