
| Current Path : /var/www/html/rocksensor3/web/core/recipes/comment_base/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor3/web/core/recipes/comment_base/recipe.yml |
name: 'Default comments'
description: 'Allows commenting on content.'
type: 'Comment type'
install:
- comment
- node
- views
config:
strict:
# Treat field storages strictly, since they influence the database layout.
- field.storage.comment.comment_body
- field.storage.node.comment
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'