diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-14 02:00:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-14 02:00:08 +0000 |
commit | 6260946b821246cc615ee8066bdd4e9187708bc1 (patch) | |
tree | 7b1117995c972fb1ba04cb89282b7744a7edf357 /modules/comment/comment.module | |
parent | 494ba2f45fa35926e7c16468290805f1362ba4b2 (diff) | |
download | brdo-6260946b821246cc615ee8066bdd4e9187708bc1.tar.gz brdo-6260946b821246cc615ee8066bdd4e9187708bc1.tar.bz2 |
#538164 follow-up by sun: Make comment body a required field.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 49c94c498..664d2aca8 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( |