Skip to content

Commit

Permalink
Issue #789484 by Lars Toomre, sven.lauer, jhogdon, pillarsdotnet, mic…
Browse files Browse the repository at this point in the history
…haellenahan: Fixed Confusing documentation for argument in hook_access()/hook_node_access().
  • Loading branch information
webchick committed Nov 12, 2011
1 parent dd6eee3 commit f9a66ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/node/node.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ function hook_node_load($nodes, $types) {
* Blindly returning FALSE will break other node access modules.
*
* @param $node
* Either a node object or a (machine-readable) content type on which to
* Either a node object or the machine name of the content type on which to
* perform the access check.
* @param $op
* The operation to be performed. Possible values:
Expand All @@ -583,9 +583,9 @@ function hook_node_load($nodes, $types) {
* The user object to perform the access check operation on.
*
* @return
* NODE_ACCESS_ALLOW if the operation is to be allowed;
* NODE_ACCESS_DENY if the operation is to be denied;
* NODE_ACCESS_IGNORE to not affect this operation at all.
* - NODE_ACCESS_ALLOW: if the operation is to be allowed.
* - NODE_ACCESS_DENY: if the operation is to be denied.
* - NODE_ACCESS_IGNORE: to not affect this operation at all.
*
* @ingroup node_access
*/
Expand Down

0 comments on commit f9a66ff

Please sign in to comment.