Commit 6260946b authored by webchick's avatar webchick

#538164 follow-up by sun: Make comment body a required field.

parent 494ba2f4
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment