From f9a66fff5fb4d04e8ce1f1edca6027171171025b Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 12 Nov 2011 15:32:01 -0800 Subject: Issue #789484 by Lars Toomre, sven.lauer, jhogdon, pillarsdotnet, michaellenahan: Fixed Confusing documentation for argument in hook_access()/hook_node_access(). --- modules/node/node.api.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/node/node.api.php') 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 */ -- cgit v1.2.3