recipe.yml
Same filename in this branch
- 11.x core/tests/fixtures/recipes/install_two_modules/recipe.yml
- 11.x core/tests/fixtures/recipes/unmet_config_dependencies/recipe.yml
- 11.x core/tests/fixtures/recipes/invalid_config/recipe.yml
- 11.x core/tests/fixtures/recipes/base_theme_and_views/recipe.yml
- 11.x core/tests/fixtures/recipes/install_node_with_config/recipe.yml
- 11.x core/tests/fixtures/recipes/no_extensions/recipe.yml
- 11.x core/tests/fixtures/recipes/config_actions/recipe.yml
- 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/level_1/recipe.yml
- 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_two_levels_down/recipe.yml
- 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/level_2/recipe.yml
- 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/direct_dependency/recipe.yml
- 11.x core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_one_level_down/recipe.yml
- 11.x core/tests/fixtures/recipes/config_from_module/recipe.yml
- 11.x core/tests/fixtures/recipes/recipe_depend_on_invalid/recipe.yml
- 11.x core/tests/fixtures/recipes/theme_with_module_dependencies/recipe.yml
- 11.x core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
- 11.x core/tests/fixtures/recipes/recipe_include/recipe.yml
- 11.x core/tests/fixtures/recipes/recipe_depend_on_invalid_config_and_valid_modules/recipe.yml
- 11.x core/tests/fixtures/recipes/config_from_module_and_recipe/recipe.yml
- 11.x core/tests/fixtures/recipes/config_wildcard/recipe.yml
- 11.x core/recipes/content_search/recipe.yml
- 11.x core/recipes/basic_shortcuts/recipe.yml
- 11.x core/recipes/page_content_type/recipe.yml
- 11.x core/recipes/basic_html_format_editor/recipe.yml
- 11.x core/recipes/core_recommended_performance/recipe.yml
- 11.x core/recipes/administrator_role/recipe.yml
- 11.x core/recipes/remote_video_media_type/recipe.yml
- 11.x core/recipes/article_tags/recipe.yml
- 11.x core/recipes/content_editor_role/recipe.yml
- 11.x core/recipes/audio_media_type/recipe.yml
- 11.x core/recipes/user_picture/recipe.yml
- 11.x core/recipes/article_comment/recipe.yml
- 11.x core/recipes/local_video_media_type/recipe.yml
- 11.x core/recipes/standard/recipe.yml
- 11.x core/recipes/core_recommended_admin_theme/recipe.yml
- 11.x core/recipes/restricted_html_format/recipe.yml
- 11.x core/recipes/full_html_format_editor/recipe.yml
- 11.x core/recipes/comment_base/recipe.yml
- 11.x core/recipes/basic_block_type/recipe.yml
- 11.x core/recipes/core_recommended_maintenance/recipe.yml
- 11.x core/recipes/tags_taxonomy/recipe.yml
- 11.x core/recipes/standard_responsive_images/recipe.yml
- 11.x core/recipes/image_media_type/recipe.yml
- 11.x core/recipes/feedback_contact_form/recipe.yml
- 11.x core/recipes/core_recommended_front_end_theme/recipe.yml
- 11.x core/recipes/editorial_workflow/recipe.yml
- 11.x core/recipes/article_content_type/recipe.yml
- 11.x core/recipes/document_media_type/recipe.yml
Same filename in other branches
- 10 core/tests/fixtures/recipes/install_two_modules/recipe.yml
- 10 core/tests/fixtures/recipes/unmet_config_dependencies/recipe.yml
- 10 core/tests/fixtures/recipes/invalid_config/recipe.yml
- 10 core/tests/fixtures/recipes/base_theme_and_views/recipe.yml
- 10 core/tests/fixtures/recipes/install_node_with_config/recipe.yml
- 10 core/tests/fixtures/recipes/no_extensions/recipe.yml
- 10 core/tests/fixtures/recipes/config_actions/recipe.yml
- 10 core/tests/fixtures/recipes/config_actions_dependency_validation/level_1/recipe.yml
- 10 core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_two_levels_down/recipe.yml
- 10 core/tests/fixtures/recipes/config_actions_dependency_validation/level_2/recipe.yml
- 10 core/tests/fixtures/recipes/config_actions_dependency_validation/direct_dependency/recipe.yml
- 10 core/tests/fixtures/recipes/config_actions_dependency_validation/indirect_dependency_one_level_down/recipe.yml
- 10 core/tests/fixtures/recipes/config_from_module/recipe.yml
- 10 core/tests/fixtures/recipes/recipe_depend_on_invalid/recipe.yml
- 10 core/tests/fixtures/recipes/theme_with_module_dependencies/recipe.yml
- 10 core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
- 10 core/tests/fixtures/recipes/recipe_include/recipe.yml
- 10 core/tests/fixtures/recipes/recipe_depend_on_invalid_config_and_valid_modules/recipe.yml
- 10 core/tests/fixtures/recipes/config_from_module_and_recipe/recipe.yml
- 10 core/tests/fixtures/recipes/config_wildcard/recipe.yml
- 10 core/recipes/content_search/recipe.yml
- 10 core/recipes/basic_shortcuts/recipe.yml
- 10 core/recipes/page_content_type/recipe.yml
- 10 core/recipes/basic_html_format_editor/recipe.yml
- 10 core/recipes/example/recipe.yml
- 10 core/recipes/core_recommended_performance/recipe.yml
- 10 core/recipes/administrator_role/recipe.yml
- 10 core/recipes/remote_video_media_type/recipe.yml
- 10 core/recipes/article_tags/recipe.yml
- 10 core/recipes/content_editor_role/recipe.yml
- 10 core/recipes/audio_media_type/recipe.yml
- 10 core/recipes/user_picture/recipe.yml
- 10 core/recipes/article_comment/recipe.yml
- 10 core/recipes/local_video_media_type/recipe.yml
- 10 core/recipes/standard/recipe.yml
- 10 core/recipes/core_recommended_admin_theme/recipe.yml
- 10 core/recipes/restricted_html_format/recipe.yml
- 10 core/recipes/full_html_format_editor/recipe.yml
- 10 core/recipes/comment_base/recipe.yml
- 10 core/recipes/basic_block_type/recipe.yml
- 10 core/recipes/core_recommended_maintenance/recipe.yml
- 10 core/recipes/tags_taxonomy/recipe.yml
- 10 core/recipes/standard_responsive_images/recipe.yml
- 10 core/recipes/image_media_type/recipe.yml
- 10 core/recipes/feedback_contact_form/recipe.yml
- 10 core/recipes/core_recommended_front_end_theme/recipe.yml
- 10 core/recipes/editorial_workflow/recipe.yml
- 10 core/recipes/article_content_type/recipe.yml
- 10 core/recipes/document_media_type/recipe.yml
File
-
core/
recipes/ example/ recipe.yml
View source
- # The name of the recipe.
- name: 'Example'
- # The description of the recipe.
- description: 'Provides an example recipe.'
- # The type key is similar to the package key in module.info.yml. It can be used
- # to group Drupal recipes.
- type: 'Content type'
- install:
- # An array of modules or themes to install if they are not already. The system
- # will detect if it is a theme or a module. During the install only simple
- # configuration from the new modules is created. This allows the Drupal recipe
- # control over the configuration.
- - node
- - text
- config:
- # A Drupal recipe can have a config directory. All configuration is this
- # directory will be imported after the modules have been installed.
- # Additionally, the Drupal recipe can install configuration entities provided
- # by the modules it configures. This allows them to not have to maintain or
- # copy this configuration.
- import:
- text:
- - text.settings
- # Import all configuration that is provided by the node module and any
- # optional configuration that depends on the text module that is provided by
- # modules already installed.
- node: '*'
- # Configuration actions may be defined. The structure here should be
- # entity_type.ID.action. Below the user role entity type with an ID of
- # editor is having the permissions added. The permissions key will be
- # mapped to the \Drupal\user\Entity\Role::grantPermission() method.
- actions:
- text.settings:
- simpleConfigUpdate:
- default_summary_length: 700
- # A Drupal recipe can have a content directory. All content in this directory
- # 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.