function comment_node_type_insert

Implements hook_node_type_insert().

Creates a comment body field for a node type created while the comment module is enabled. For node types created before the comment module is enabled, hook_modules_enabled() serves to create the body fields.

See also

comment_modules_enabled()

File

drupal/modules/comment/comment.module, line 327
Enables users to comment on published content.

Code

function comment_node_type_insert($info) {
  _comment_body_field_create($info);
}