- Patch #1354852 by marvil07, 30equals: hook_node_type_insert() has no sample function body.
parent
56b02b5b27
commit
055da3f730
|
@ -976,6 +976,7 @@ function hook_ranking() {
|
||||||
* The node type object that is being created.
|
* The node type object that is being created.
|
||||||
*/
|
*/
|
||||||
function hook_node_type_insert($info) {
|
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)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue