From 259703be4eb2582f09719d66f024d71aaab5b5b6 Mon Sep 17 00:00:00 2001 From: Mac_Weber Date: Tue, 18 Oct 2011 03:54:39 -0200 Subject: [PATCH] 789484-node_api_documentation --- modules/node/node.api.php | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/node/node.api.php b/modules/node/node.api.php index c798e73..cab476e 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -580,7 +580,7 @@ function hook_node_load($nodes, $types) { * - "update" * - "view" * @param object $account - * A user object for which the access check operation is to be performed. + * The user object to perform the access check operation on. * * @return integer * NODE_ACCESS_ALLOW if the operation is to be allowed; @@ -858,9 +858,9 @@ function hook_node_view_alter(&$build) { * * @return * An array of information defining the module's node types. The array - * contains a sub-array for each node type, with the machine-readable type - * name as the key. Each sub-array has up to 10 attributes. Possible - * attributes: + * contains a sub-array for each node type, with the the machine name of a + * content type as the key. Each sub-array has up to 10 attributes. + * Possible attributes: * - "name": the human-readable name of the node type. Required. * - "base": the base string used to construct callbacks corresponding to * this node type. @@ -878,9 +878,9 @@ function hook_node_view_alter(&$build) { * machine name of this type. FALSE = changeable (not locked), * TRUE = unchangeable (locked). Optional (defaults to TRUE). * - * The machine-readable name of a node type should contain only letters, - * numbers, and underscores. Underscores will be converted into hyphens for the - * purpose of constructing URLs. + * The machine name of a node type should contain only letters, numbers, and + * underscores. Underscores will be converted into hyphens for the purpose of + * constructing URLs. * * All attributes of a node type that are defined through this hook (except for * 'locked') can be edited by a site administrator. This includes the -- 1.7.7