Home ›
Setting parts of complex (nested) variables with FeaturesSetting parts of complex (nested) variables with Features
Submitted by Benjamin Melançon on February 14, 2011 - 12:20pm
The biggest problem is likely complex variables in the variable table (nested arrays which become serialized). Here is a solution for changing only part of a complex variable: http://groups.drupal.org/node/52588#comment-144213 (if this doesn't work or is awkward, i have a similar solution that i can dig up, but i believe mine is less robust).
I think drupal_array_merge_deep() may be the function we want to use in these cases.
Searched words:
cut from DGD7
Comments
Post new comment