recipe.yml

core/recipes/standard/recipe.yml

File

core/recipes/standard/recipe.yml

View source
  1. name: 'Standard'
  2. description: 'Provides a standard site with commonly used features pre-configured.'
  3. type: 'Site'
  4. recipes:
  5. - basic_block_type
  6. - basic_shortcuts
  7. - article_comment
  8. - article_tags
  9. - article_content_type
  10. - page_content_type
  11. - basic_html_format_editor
  12. - full_html_format_editor
  13. - content_search
  14. - core_recommended_performance
  15. - core_recommended_maintenance
  16. - core_recommended_admin_theme
  17. - core_recommended_front_end_theme
  18. - user_picture
  19. # Provides a fallback text format which is available to all users.
  20. - restricted_html_format
  21. - administrator_role
  22. - content_editor_role
  23. install:
  24. - image
  25. - help
  26. - history
  27. - config
  28. - contextual
  29. - menu_link_content
  30. - datetime
  31. - menu_ui
  32. - options
  33. - toolbar
  34. - field_ui
  35. - views_ui
  36. - shortcut
  37. config:
  38. # This recipe is intended to set up a full site from scratch, fulfilling certain
  39. # expectations. It's not really designed to be a building block. Therefore, treat
  40. # all of the config strictly.
  41. strict: true
  42. import:
  43. claro:
  44. - block.block.claro_help
  45. help:
  46. - search.page.help_search
  47. - block.block.claro_help_search
  48. image:
  49. - image.style.large
  50. - image.style.thumbnail
  51. node:
  52. - views.view.archive
  53. - views.view.content
  54. - views.view.content_recent
  55. - views.view.frontpage
  56. - views.view.glossary
  57. olivero:
  58. - block.block.olivero_help
  59. - block.block.olivero_search_form_narrow
  60. - block.block.olivero_search_form_wide
  61. user:
  62. - core.entity_view_mode.user.compact
  63. - search.page.user_search
  64. - views.view.user_admin_people
  65. - views.view.who_s_new
  66. - views.view.who_s_online
  67. actions:
  68. node.settings:
  69. simpleConfigUpdate:
  70. use_admin_theme: true
  71. system.site:
  72. simpleConfigUpdate:
  73. page.front: /node
  74. user.role.anonymous:
  75. grantPermission: 'access content'
  76. user.role.authenticated:
  77. grantPermissions:
  78. - 'access content'
  79. - 'delete own files'
  80. user.role.content_editor:
  81. grantPermissions:
  82. - 'access content overview'
  83. - 'access contextual links'
  84. - 'access files overview'
  85. - 'access toolbar'
  86. - 'administer url aliases'
  87. - 'create terms in tags'
  88. - 'create url aliases'
  89. - 'edit own comments'
  90. - 'edit terms in tags'
  91. - 'delete own files'
  92. - 'revert all revisions'
  93. - 'view all revisions'
  94. - 'view the administration theme'
  95. grantPermissionsForEachNodeType:
  96. - 'create %bundle content'
  97. - 'delete %bundle revisions'
  98. - 'delete own %bundle content'
  99. - 'edit own %bundle content'
  100. user.settings:
  101. simpleConfigUpdate:
  102. verify_mail: true
  103. register: admin_only
  104. cancel_method: user_cancel_block

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