recipe.yml

core/recipes/article_comment/recipe.yml

File

core/recipes/article_comment/recipe.yml

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.