Skip to content

Commit 7c78e52

Browse files
Fix config for comments
1 parent cb7bc24 commit 7c78e52

File tree

2 files changed

+18
-23
lines changed

2 files changed

+18
-23
lines changed

config/sync/core.entity_view_display.comment.os2loop_post_comment.default.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,38 @@ targetEntityType: comment
1515
bundle: os2loop_post_comment
1616
mode: default
1717
content:
18-
flag_os2loop_upvote_upvote_button:
18+
flag_os2loop_upvote_correct_answer:
1919
weight: 0
2020
region: content
2121
settings: { }
2222
third_party_settings: { }
23-
links:
23+
flag_os2loop_upvote_upvote_button:
2424
weight: 1
2525
region: content
2626
settings: { }
2727
third_party_settings: { }
28+
links:
29+
weight: 2
30+
region: content
31+
settings: { }
32+
third_party_settings: { }
2833
os2loop_comment_anonymous_author:
2934
type: list_default
30-
weight: 2
35+
weight: 3
3136
region: content
3237
label: hidden
3338
settings: { }
3439
third_party_settings: { }
3540
os2loop_post_comment:
36-
weight: 3
41+
weight: 4
3742
label: hidden
3843
settings: { }
3944
third_party_settings: { }
4045
type: text_default
4146
region: content
4247
os2loop_post_comment_media:
4348
type: entity_reference_entity_id
44-
weight: 4
49+
weight: 5
4550
region: content
4651
label: above
4752
settings: { }
@@ -50,6 +55,5 @@ hidden:
5055
entity_print_view_epub: true
5156
entity_print_view_pdf: true
5257
entity_print_view_word_docx: true
53-
flag_os2loop_upvote_correct_answer: true
5458
langcode: true
5559
search_api_excerpt: true

config/sync/core.entity_view_display.comment.os2loop_post_comment.list_display.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,25 @@ dependencies:
99
- field.field.comment.os2loop_post_comment.os2loop_post_comment
1010
- field.field.comment.os2loop_post_comment.os2loop_post_comment_media
1111
module:
12-
- options
1312
- text
1413
id: comment.os2loop_post_comment.list_display
1514
targetEntityType: comment
1615
bundle: os2loop_post_comment
1716
mode: list_display
1817
content:
19-
flag_os2loop_upvote_upvote_button:
20-
weight: 0
18+
flag_os2loop_upvote_correct_answer:
19+
weight: 1
2120
region: content
2221
settings: { }
2322
third_party_settings: { }
24-
links:
25-
weight: 1
23+
flag_os2loop_upvote_upvote_button:
24+
weight: 0
2625
region: content
2726
settings: { }
2827
third_party_settings: { }
29-
os2loop_comment_anonymous_author:
30-
type: list_default
28+
links:
3129
weight: 2
3230
region: content
33-
label: hidden
3431
settings: { }
3532
third_party_settings: { }
3633
os2loop_post_comment:
@@ -40,17 +37,11 @@ content:
4037
third_party_settings: { }
4138
type: text_default
4239
region: content
43-
os2loop_post_comment_media:
44-
type: entity_reference_entity_id
45-
weight: 4
46-
region: content
47-
label: above
48-
settings: { }
49-
third_party_settings: { }
5040
hidden:
5141
entity_print_view_epub: true
5242
entity_print_view_pdf: true
5343
entity_print_view_word_docx: true
54-
flag_os2loop_upvote_correct_answer: true
5544
langcode: true
56-
search_api_excerpt: true
45+
os2loop_comment_anonymous_author: true
46+
os2loop_question_answer_media: true
47+
search_api_excerpt: true

0 commit comments

Comments
 (0)