recipe.yml

Same filename in this branch
  1. 10 core/tests/fixtures/recipes/install_two_modules/recipe.yml
  2. 10 core/tests/fixtures/recipes/unmet_config_dependencies/recipe.yml
  3. 10 core/tests/fixtures/recipes/invalid_config/recipe.yml
  4. 10 core/tests/fixtures/recipes/base_theme_and_views/recipe.yml
  5. 10 core/tests/fixtures/recipes/install_node_with_config/recipe.yml
  6. 10 core/tests/fixtures/recipes/no_extensions/recipe.yml
  7. 10 core/tests/fixtures/recipes/config_actions/recipe.yml
  8. 10 core/tests/fixtures/recipes/config_actions_dependency_validation/level_1/recipe.yml
  9. 10 core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_two_levels_down/recipe.yml
  10. 10 core/tests/fixtures/recipes/config_actions_dependency_validation/level_2/recipe.yml
  11. 10 core/tests/fixtures/recipes/config_actions_dependency_validation/direct_dependency/recipe.yml
  12. 10 core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_one_level_down/recipe.yml
  13. 10 core/tests/fixtures/recipes/config_from_module/recipe.yml
  14. 10 core/tests/fixtures/recipes/recipe_depend_on_invalid/recipe.yml
  15. 10 core/tests/fixtures/recipes/theme_with_module_dependencies/recipe.yml
  16. 10 core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
  17. 10 core/tests/fixtures/recipes/recipe_include/recipe.yml
  18. 10 core/tests/fixtures/recipes/recipe_depend_on_invalid_config_and_valid_modules/recipe.yml
  19. 10 core/tests/fixtures/recipes/config_from_module_and_recipe/recipe.yml
  20. 10 core/tests/fixtures/recipes/config_wildcard/recipe.yml
  21. 10 core/recipes/content_search/recipe.yml
  22. 10 core/recipes/basic_shortcuts/recipe.yml
  23. 10 core/recipes/page_content_type/recipe.yml
  24. 10 core/recipes/basic_html_format_editor/recipe.yml
  25. 10 core/recipes/core_recommended_performance/recipe.yml
  26. 10 core/recipes/administrator_role/recipe.yml
  27. 10 core/recipes/remote_video_media_type/recipe.yml
  28. 10 core/recipes/article_tags/recipe.yml
  29. 10 core/recipes/content_editor_role/recipe.yml
  30. 10 core/recipes/audio_media_type/recipe.yml
  31. 10 core/recipes/user_picture/recipe.yml
  32. 10 core/recipes/article_comment/recipe.yml
  33. 10 core/recipes/local_video_media_type/recipe.yml
  34. 10 core/recipes/standard/recipe.yml
  35. 10 core/recipes/core_recommended_admin_theme/recipe.yml
  36. 10 core/recipes/restricted_html_format/recipe.yml
  37. 10 core/recipes/full_html_format_editor/recipe.yml
  38. 10 core/recipes/comment_base/recipe.yml
  39. 10 core/recipes/basic_block_type/recipe.yml
  40. 10 core/recipes/core_recommended_maintenance/recipe.yml
  41. 10 core/recipes/tags_taxonomy/recipe.yml
  42. 10 core/recipes/standard_responsive_images/recipe.yml
  43. 10 core/recipes/image_media_type/recipe.yml
  44. 10 core/recipes/feedback_contact_form/recipe.yml
  45. 10 core/recipes/core_recommended_front_end_theme/recipe.yml
  46. 10 core/recipes/editorial_workflow/recipe.yml
  47. 10 core/recipes/article_content_type/recipe.yml
  48. 10 core/recipes/document_media_type/recipe.yml
Same filename in other branches
  1. 11.x core/tests/fixtures/recipes/install_two_modules/recipe.yml
  2. 11.x core/tests/fixtures/recipes/unmet_config_dependencies/recipe.yml
  3. 11.x core/tests/fixtures/recipes/invalid_config/recipe.yml
  4. 11.x core/tests/fixtures/recipes/base_theme_and_views/recipe.yml
  5. 11.x core/tests/fixtures/recipes/install_node_with_config/recipe.yml
  6. 11.x core/tests/fixtures/recipes/no_extensions/recipe.yml
  7. 11.x core/tests/fixtures/recipes/config_actions/recipe.yml
  8. 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/level_1/recipe.yml
  9. 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_two_levels_down/recipe.yml
  10. 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/level_2/recipe.yml
  11. 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/direct_dependency/recipe.yml
  12. 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_one_level_down/recipe.yml
  13. 11.x core/tests/fixtures/recipes/config_from_module/recipe.yml
  14. 11.x core/tests/fixtures/recipes/recipe_depend_on_invalid/recipe.yml
  15. 11.x core/tests/fixtures/recipes/theme_with_module_dependencies/recipe.yml
  16. 11.x core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
  17. 11.x core/tests/fixtures/recipes/recipe_include/recipe.yml
  18. 11.x core/tests/fixtures/recipes/recipe_depend_on_invalid_config_and_valid_modules/recipe.yml
  19. 11.x core/tests/fixtures/recipes/config_from_module_and_recipe/recipe.yml
  20. 11.x core/tests/fixtures/recipes/config_wildcard/recipe.yml
  21. 11.x core/recipes/content_search/recipe.yml
  22. 11.x core/recipes/basic_shortcuts/recipe.yml
  23. 11.x core/recipes/page_content_type/recipe.yml
  24. 11.x core/recipes/basic_html_format_editor/recipe.yml
  25. 11.x core/recipes/example/recipe.yml
  26. 11.x core/recipes/core_recommended_performance/recipe.yml
  27. 11.x core/recipes/administrator_role/recipe.yml
  28. 11.x core/recipes/remote_video_media_type/recipe.yml
  29. 11.x core/recipes/article_tags/recipe.yml
  30. 11.x core/recipes/content_editor_role/recipe.yml
  31. 11.x core/recipes/audio_media_type/recipe.yml
  32. 11.x core/recipes/user_picture/recipe.yml
  33. 11.x core/recipes/article_comment/recipe.yml
  34. 11.x core/recipes/local_video_media_type/recipe.yml
  35. 11.x core/recipes/standard/recipe.yml
  36. 11.x core/recipes/core_recommended_admin_theme/recipe.yml
  37. 11.x core/recipes/restricted_html_format/recipe.yml
  38. 11.x core/recipes/full_html_format_editor/recipe.yml
  39. 11.x core/recipes/comment_base/recipe.yml
  40. 11.x core/recipes/basic_block_type/recipe.yml
  41. 11.x core/recipes/core_recommended_maintenance/recipe.yml
  42. 11.x core/recipes/tags_taxonomy/recipe.yml
  43. 11.x core/recipes/standard_responsive_images/recipe.yml
  44. 11.x core/recipes/image_media_type/recipe.yml
  45. 11.x core/recipes/feedback_contact_form/recipe.yml
  46. 11.x core/recipes/core_recommended_front_end_theme/recipe.yml
  47. 11.x core/recipes/editorial_workflow/recipe.yml
  48. 11.x core/recipes/article_content_type/recipe.yml
  49. 11.x core/recipes/document_media_type/recipe.yml
core/recipes/example/recipe.yml

File

core/recipes/example/recipe.yml

View source
  1. # The name of the recipe.
  2. name: 'Example'
  3. # The description of the recipe.
  4. description: 'Provides an example recipe.'
  5. # The type key is similar to the package key in module.info.yml. It can be used
  6. # to group Drupal recipes.
  7. type: 'Content type'
  8. install:
  9. # An array of modules or themes to install if they are not already. The system
  10. # will detect if it is a theme or a module. During the install only simple
  11. # configuration from the new modules is created. This allows the Drupal recipe
  12. # control over the configuration.
  13. - node
  14. - text
  15. config:
  16. # A Drupal recipe can have a config directory. All configuration is this
  17. # directory will be imported after the modules have been installed.
  18. # Additionally, the Drupal recipe can install configuration entities provided
  19. # by the modules it configures. This allows them to not have to maintain or
  20. # copy this configuration.
  21. import:
  22. text:
  23. - text.settings
  24. # Import all configuration that is provided by the node module and any
  25. # optional configuration that depends on the text module that is provided by
  26. # modules already installed.
  27. node: '*'
  28. # Configuration actions may be defined. The structure here should be
  29. # entity_type.ID.action. Below the user role entity type with an ID of
  30. # editor is having the permissions added. The permissions key will be
  31. # mapped to the \Drupal\user\Entity\Role::grantPermission() method.
  32. actions:
  33. text.settings:
  34. simpleConfigUpdate:
  35. default_summary_length: 700
  36. # A Drupal recipe can have a content directory. All content in this directory
  37. # will be created after the configuration is installed.

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