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/basic_shortcuts/recipe.yml
  15. 11.1.x core/recipes/core_recommended_performance/recipe.yml
  16. 11.1.x core/recipes/tags_taxonomy/recipe.yml
  17. 11.1.x core/recipes/comment_base/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/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.

API Navigation

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