drupal_array_get_nested_value() has all it takes to actually return a reference, except the function signature.

Could we change that, please?

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new784 bytes

Thanks!

chx’s picture

Status: Needs review » Reviewed & tested by the community

The 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

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 991066-drupal_array_get_nested_value-reference.patch, failed testing.

damien tournoud’s picture

Status: Needs work » Needs review
StatusFileSize
new1.01 KB

Ew.

casey’s picture

casey’s picture

Version: 7.x-dev » 8.x-dev

oops, does this work?

casey’s picture

Version: 8.x-dev » 7.x-dev

Fixed in D8, backport?

chx’s picture

Status: Needs review » Needs work

The last submitted patch, 991066-drupal_array_get_nested_value-reference.patch, failed testing.

joelpittet’s picture

Issue summary: View changes
Status: Needs work » Closed (duplicate)