recipe.yml

core/recipes/basic_block_type/recipe.yml

File

core/recipes/basic_block_type/recipe.yml

View source
  1. name: 'Basic block'
  2. description: 'Provides "Basic block" custom block type and related configuration. A basic block contains a title and a body.'
  3. type: 'Block type'
  4. install:
  5. - block_content
  6. - views
  7. config:
  8. strict:
  9. # Treat field storages strictly, since they influence the database layout.
  10. - field.storage.block_content.body
  11. import:
  12. block_content:
  13. - field.storage.block_content.body
  14. - core.entity_view_mode.block_content.full
  15. - views.view.block_content

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