drupal_array_get_nested_value() has all it takes to actually return a reference, except the function signature.
Could we change that, please?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 991066-drupal_array_get_nested_value-reference.patch | 1.01 KB | damien tournoud |
| #1 | 991066-drupal_array_get_nested_value-reference.patch | 784 bytes | damien tournoud |
Comments
Comment #1
damien tournoud commentedThanks!
Comment #2
chx commentedThe mustache theme engine basically needed a copy of this function to be able to receive a reference. So apparently this is needed. Existing code is not broken. $a = drupal_get_nested_value it wont matter but it allows $a = &drupal_get_nested_value
Comment #4
damien tournoud commentedEw.
Comment #6
casey commented#4: 991066-drupal_array_get_nested_value-reference.patch queued for re-testing.
Comment #7
casey commentedoops, does this work?
Comment #8
casey commentedFixed in D8, backport?
Comment #9
chx commented#4: 991066-drupal_array_get_nested_value-reference.patch queued for re-testing.
Comment #11
joelpittetThis looks to be resolved by this commit #635046: form_state_values_clean() is polluting form values (followup)