Initial Drupal 11 with DDEV setup
This commit is contained in:
30
web/core/recipes/comment_base/recipe.yml
Normal file
30
web/core/recipes/comment_base/recipe.yml
Normal file
@ -0,0 +1,30 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user