recipe.yml

core/recipes/comment_base/recipe.yml

File

core/recipes/comment_base/recipe.yml

View source
  1. name: 'Default comments'
  2. description: 'Allows commenting on content.'
  3. type: 'Comment type'
  4. install:
  5. - comment
  6. - node
  7. - views
  8. config:
  9. import:
  10. comment:
  11. - core.entity_view_mode.comment.full
  12. - field.storage.comment.comment_body
  13. - system.action.comment_delete_action
  14. - system.action.comment_publish_action
  15. - system.action.comment_save_action
  16. - system.action.comment_unpublish_action
  17. - views.view.comment
  18. - views.view.comments_recent
  19. actions:
  20. user.role.authenticated:
  21. grantPermissions:
  22. - 'access comments'
  23. - 'post comments'
  24. - 'skip comment approval'
  25. user.role.anonymous:
  26. grantPermission: 'access comments'

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