The return value section of the doc for hook_node_access_records() in D7 and D6 should be a bullet list for readability, but it isn't.
http://api.drupal.org/api/function/hook_node_access_records/7
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 610066.patch | 4.45 KB | jhodgdon |
Comments
Comment #1
jhodgdonAlso, it references hook_node_grants(), but there are no () on the function name, which makes it not turn into a link.
Comment #2
jhodgdonHere's a patch that cleans up the documentation for hook_node_grants(), and also the companion hook_node_access(). I think it makes more sense than the original.
If accepted, should also be ported to Drupal 6.
Comment #3
dries commentedCommitted to CVS HEAD. Thanks.
Comment #4
jhodgdonNeeds port to Drupal 6.
Comment #5
jhodgdonThese are in the contrib repository in Drupal 6, so I fixed directly there.
http://drupal.org/cvs?commit=280224