variable_set() does this for us. As is, when exporting the variable via Features, you get a string instead of a editable array.

Comments

deviantintegral’s picture

Status: Active » Needs review
StatusFileSize
new3.33 KB

Here's a patch addressing this along with an update hook. Since we're changing the variable anyways, I also addressed #1205460: Variable name is not the same as the module name.

jcisio’s picture

Status: Needs review » Fixed

Looks good, committed. Thanks!

deviantintegral’s picture

Status: Fixed » Reviewed & tested by the community

I don't see any new git commits. Perhaps you need to do a git push?

jcisio’s picture

Status: Reviewed & tested by the community » Fixed

Yes, forgot to push.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.