As discussed at http://drupal.org/node/203582, the documentation for hook_access in 6.x is incorrect (it's missing the $account parameter that is now passed to that hook).

The attached patch updates the documentation (and also updates the hook_access example in node_example.module).

CommentFileSizeAuthor
#1 hook_access_docs.patch2.64 KBDavid_Rothstein

Comments

David_Rothstein’s picture

StatusFileSize
new2.64 KB
darren oh’s picture

Status: Needs review » Fixed

Fixed in CVS commit 94165.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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