? node_type.patch
Index: node_example/node_example.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/examples/node_example/node_example.module,v
retrieving revision 1.1.2.7
diff -u -5 -p -r1.1.2.7 node_example.module
--- node_example/node_example.module	19 Jul 2010 15:53:20 -0000	1.1.2.7
+++ node_example/node_example.module	24 Aug 2010 21:00:39 -0000
@@ -48,14 +48,20 @@
  * - "has_body": boolean that indicates whether or not this node type has a
  *   body field.
  * - "body_label": the label for the body field of this content type.
  * - "min_word_count": the minimum number of words for the body field to be
  *   considered valid for this content type.
+ *
+ * The key in this example "node_type", needs to be unique for a Drupal site.
+ * This value is used as the node's type (it's machine name), and is stored
+ * in {node}.type. The node's type value cannot be changed through the admin
+ * section for nodes and can be useful to distinguish nodes apart. 
+ * 
  */
 function node_example_node_info() {
   return array(
-    'node_example' => array(
+    'node_type' => array(
       'name' => t('Example node'),
       'module' => 'node_example',
       'description' => t("This is an example node type with a few fields."),
       'has_title' => TRUE,
       'title_label' => t('Example Title'),
