- Patch #1354852 by marvil07, 30equals: hook_node_type_insert() has no sample function body.

merge-requests/26/head
Dries 2012-01-27 12:11:30 -05:00
parent 56b02b5b27
commit 055da3f730
1 changed files with 1 additions and 0 deletions

View File

@ -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)));
}
/**