From 6260946b821246cc615ee8066bdd4e9187708bc1 Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Thu, 14 Jan 2010 02:00:08 +0000 Subject: [PATCH] #538164 follow-up by sun: Make comment body a required field. --- modules/comment/comment.module | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 49c94c4984a7..664d2aca8c43 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -298,6 +298,7 @@ function _comment_body_field_instance_create($info) { 'object_type' => 'comment', 'bundle' => 'comment_node_' . $info->type, 'settings' => array('text_processing' => 1), + 'required' => TRUE, // Hides field label by default. 'display' => array( 'full' => array( -- GitLab