From 055da3f730b0030e8acb8a92c55c343ab5a7790b Mon Sep 17 00:00:00 2001 From: Dries Date: Fri, 27 Jan 2012 12:11:30 -0500 Subject: [PATCH] - Patch #1354852 by marvil07, 30equals: hook_node_type_insert() has no sample function body. --- modules/node/node.api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/node/node.api.php b/modules/node/node.api.php index c87e3f8e7984..a9881d5ee140 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -976,6 +976,7 @@ function hook_ranking() { * The node type object that is being created. */ function hook_node_type_insert($info) { + drupal_set_message(t('You have just created a content type with a machine name %type.', array('%type' => $info->type))); } /**