diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-12 15:32:01 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-12 15:32:01 -0800 |
commit | f9a66fff5fb4d04e8ce1f1edca6027171171025b (patch) | |
tree | 975ceff965fb369024958c39242e1da5ecdae033 /modules/node | |
parent | dd6eee32b70d3f945b0b2b553ce1a65ea478efda (diff) | |
download | brdo-f9a66fff5fb4d04e8ce1f1edca6027171171025b.tar.gz brdo-f9a66fff5fb4d04e8ce1f1edca6027171171025b.tar.bz2 |
Issue #789484 by Lars Toomre, sven.lauer, jhogdon, pillarsdotnet, michaellenahan: Fixed Confusing documentation for argument in hook_access()/hook_node_access().
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.api.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/node/node.api.php b/modules/node/node.api.php index 5c41e1f76..7f8e22866 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -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: @@ -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 */ |