diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index bb3e86e..604111b 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -389,7 +389,7 @@ function _comment_body_field_create($info) { // Assign widget settings for the 'default' form mode. entity_get_form_display('comment', 'comment_node_' . $info->type, 'default') - ->setComponent($field['field_name'], array( + ->setComponent('comment_body', array( 'type' => 'text_textarea', )) ->save();