diff --git a/developer/hooks/node.php b/developer/hooks/node.php index 427ca45..7fdac6f 100755 --- a/developer/hooks/node.php +++ b/developer/hooks/node.php @@ -135,16 +135,15 @@ function hook_node_type($op, $info) { * - "update" * - "view" * @param $node - * The node on which the operation is to be performed, or, if it does - * not yet exist, the type of node to be created. + * Either a node object or a (machine-readable) content type on which to + * perform the access check. * @param $account - * A user object representing the user for whom the operation is to be - * performed. + * The user object to perform the access check operation on. * @return * TRUE if the operation is to be allowed; * FALSE if the operation is to be denied; * NULL to not override the settings in the node_access table, or access - * control modules. + * control modules. * * The administrative account (user ID #1) always passes any access check, * so this hook is not called in that case. If this hook is not defined for @@ -152,7 +151,6 @@ function hook_node_type($op, $info) { * be able to see content of that type. However, users with the "administer * nodes" permission may always view and edit content through the * administrative interface. - * @see http://api.drupal.org/api/group/node_access/6 * * For a detailed usage example, see node_example.module. *