From 7b5fca43b545819aabc69b214d4a6e2bdc3c6529 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Fri, 30 Aug 2019 15:59:38 -0600 Subject: [PATCH 1/3] Update the form display of comments --- ...ity_form_display.comment.comment.default.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/config/sync/core.entity_form_display.comment.comment.default.yml b/config/sync/core.entity_form_display.comment.comment.default.yml index b2bc914..03267ae 100644 --- a/config/sync/core.entity_form_display.comment.comment.default.yml +++ b/config/sync/core.entity_form_display.comment.comment.default.yml @@ -15,22 +15,17 @@ bundle: comment mode: default content: author: - weight: -2 + weight: 0 region: content + settings: { } + third_party_settings: { } comment_body: type: text_textarea - weight: 11 + weight: 1 settings: rows: 5 placeholder: '' third_party_settings: { } region: content - subject: - type: string_textfield - weight: 10 - settings: - size: 60 - placeholder: '' - third_party_settings: { } - region: content -hidden: { } +hidden: + subject: true From 5887bca71ca83e19e85f137bd18c9d1bed319f5b Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Fri, 30 Aug 2019 16:01:51 -0600 Subject: [PATCH 2/3] Update the settings for comments on Article --- config/sync/field.field.node.article.comment.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/sync/field.field.node.article.comment.yml b/config/sync/field.field.node.article.comment.yml index 90ebf67..b4353db 100644 --- a/config/sync/field.field.node.article.comment.yml +++ b/config/sync/field.field.node.article.comment.yml @@ -15,7 +15,7 @@ entity_type: node bundle: article label: Comments description: '' -required: true +required: false translatable: true default_value: - @@ -29,7 +29,7 @@ default_value_callback: '' settings: default_mode: 1 per_page: 50 - anonymous: 0 - form_location: false - preview: 1 + anonymous: 1 + form_location: true + preview: 0 field_type: comment From 9eb03674322de34dd550f32d62014c611b2013a1 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Fri, 30 Aug 2019 16:02:13 -0600 Subject: [PATCH 3/3] Update the settings for comments on Blog --- config/sync/field.field.node.blog.comment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/sync/field.field.node.blog.comment.yml b/config/sync/field.field.node.blog.comment.yml index 93e05e8..e44a9e0 100644 --- a/config/sync/field.field.node.blog.comment.yml +++ b/config/sync/field.field.node.blog.comment.yml @@ -29,7 +29,7 @@ default_value_callback: '' settings: default_mode: 1 per_page: 50 - anonymous: 0 - form_location: false - preview: 1 + anonymous: 1 + form_location: true + preview: 0 field_type: comment