small api documentation issue:
the $build parameter in the hook_x_view_alter() functions should be passed by reference

CommentFileSizeAuthor
#1 hook_x_view_alter.patch1.98 KBpasqualle

Comments

pasqualle’s picture

StatusFileSize
new1.98 KB
jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Good catch! Definitely anything in a hook_X_alter() hook that is not an object needs to be passed by reference, and these examples are all adding elements to the arrays.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD.

Status: Fixed » Closed (fixed)

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