Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

recipe.yml

Same filename in this branch
  1. 11.1.x core/recipes/page_content_type/recipe.yml
  2. 11.1.x core/recipes/audio_media_type/recipe.yml
  3. 11.1.x core/recipes/basic_html_format_editor/recipe.yml
  4. 11.1.x core/recipes/article_comment/recipe.yml
  5. 11.1.x core/recipes/feedback_contact_form/recipe.yml
  6. 11.1.x core/recipes/standard/recipe.yml
  7. 11.1.x core/recipes/article_tags/recipe.yml
  8. 11.1.x core/recipes/restricted_html_format/recipe.yml
  9. 11.1.x core/recipes/editorial_workflow/recipe.yml
  10. 11.1.x core/recipes/remote_video_media_type/recipe.yml
  11. 11.1.x core/recipes/core_recommended_maintenance/recipe.yml
  12. 11.1.x core/recipes/local_video_media_type/recipe.yml
  13. 11.1.x core/recipes/standard_responsive_images/recipe.yml
  14. 11.1.x core/recipes/example/recipe.yml
  15. 11.1.x core/recipes/basic_shortcuts/recipe.yml
  16. 11.1.x core/recipes/core_recommended_performance/recipe.yml
  17. 11.1.x core/recipes/tags_taxonomy/recipe.yml
  18. 11.1.x core/recipes/full_html_format_editor/recipe.yml
  19. 11.1.x core/recipes/user_picture/recipe.yml
  20. 11.1.x core/recipes/content_search/recipe.yml
  21. 11.1.x core/recipes/core_recommended_admin_theme/recipe.yml
  22. 11.1.x core/recipes/core_recommended_front_end_theme/recipe.yml
  23. 11.1.x core/recipes/administrator_role/recipe.yml
  24. 11.1.x core/recipes/content_editor_role/recipe.yml
  25. 11.1.x core/recipes/document_media_type/recipe.yml
  26. 11.1.x core/recipes/basic_block_type/recipe.yml
  27. 11.1.x core/recipes/image_media_type/recipe.yml
  28. 11.1.x core/recipes/article_content_type/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. strict:
  10. # Treat field storages strictly, since they influence the database layout.
  11. - field.storage.comment.comment_body
  12. - field.storage.node.comment
  13. import:
  14. comment:
  15. - core.entity_view_mode.comment.full
  16. - field.storage.comment.comment_body
  17. - system.action.comment_delete_action
  18. - system.action.comment_publish_action
  19. - system.action.comment_save_action
  20. - system.action.comment_unpublish_action
  21. - views.view.comment
  22. - views.view.comments_recent
  23. actions:
  24. user.role.authenticated:
  25. grantPermissions:
  26. - 'access comments'
  27. - 'post comments'
  28. - 'skip comment approval'
  29. user.role.anonymous:
  30. grantPermission: 'access comments'

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal