recipe.yml
File
-
core/
recipes/ comment_base/ recipe.yml
View source
- name: 'Default comments'
- description: 'Allows commenting on content.'
- type: 'Comment type'
- install:
- - comment
- - node
- - views
- config:
- import:
- comment:
- - core.entity_view_mode.comment.full
- - field.storage.comment.comment_body
- - system.action.comment_delete_action
- - system.action.comment_publish_action
- - system.action.comment_save_action
- - system.action.comment_unpublish_action
- - views.view.comment
- - views.view.comments_recent
- actions:
- user.role.authenticated:
- grantPermissions:
- - 'access comments'
- - 'post comments'
- - 'skip comment approval'
- user.role.anonymous:
- grantPermission: 'access comments'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.