/** * Implements hook_node_type_insert(). */ function {{ machine_name }}_node_type_insert($info) { drupal_set_message(t('You have just created a content type with a machine name %type.', array('%type' => $info->type))); }