diff --git a/developer/hooks/node.php b/developer/hooks/node.php index 427ca45..eff102d 100755 --- a/developer/hooks/node.php +++ b/developer/hooks/node.php @@ -135,15 +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 the machine name of the 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 + * - 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. * * The administrative account (user ID #1) always passes any access check, @@ -152,7 +152,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. *