summaryrefslogtreecommitdiffstatshomepage
path: root/core/recipes/article_comment/recipe.yml
blob: 757072fa3b73f208c295f9208d9bbccf691cc3cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'Article comments'
description: 'Provides commenting on article content.'
type: 'Content field'
recipes:
  - article_content_type
  - comment_base
config:
  # If the `comment` field already exists, it is guaranteed to be the right
  # field type because the comment_base recipe treats the field storage strictly.
  strict: false
  actions:
    core.entity_form_display.node.article.default:
      setComponent:
        name: comment
        options:
          type: comment_default
          weight: 20
          region: content
          settings: {}
          third_party_settings: {}
    core.entity_view_display.node.article.default:
      setComponent:
        name: comment
        options:
          type: comment_default
          label: above
          settings:
            view_mode: default
            pager_id: 0
          third_party_settings: {  }
          weight: 110
          region: content