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
File
-
modules/
comment/ comment.module, line 327
Code
function comment_node_type_insert($info) {
_comment_body_field_create($info);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.