diff options
author | Dries <dries@buytaert.net> | 2012-01-27 12:11:30 -0500 |
---|---|---|
committer | Dries <dries@buytaert.net> | 2012-01-27 12:11:30 -0500 |
commit | 055da3f730b0030e8acb8a92c55c343ab5a7790b (patch) | |
tree | 1558704e96ab0874818c9268e50fd818db3ac826 /modules/node/node.api.php | |
parent | 56b02b5b27e06a46afea2ac73272b792591fc20f (diff) | |
download | brdo-055da3f730b0030e8acb8a92c55c343ab5a7790b.tar.gz brdo-055da3f730b0030e8acb8a92c55c343ab5a7790b.tar.bz2 |
- Patch #1354852 by marvil07, 30equals: hook_node_type_insert() has no sample function body.
Diffstat (limited to 'modules/node/node.api.php')
-rw-r--r-- | modules/node/node.api.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.api.php b/modules/node/node.api.php index c87e3f8e7..a9881d5ee 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))); } /** |