recipe.yml

core/recipes/core_recommended_front_end_theme/recipe.yml

File

core/recipes/core_recommended_front_end_theme/recipe.yml

View source
  1. name: 'Front end theme'
  2. description: 'Sets up Olivero as the front-end theme.'
  3. type: 'Themes'
  4. install:
  5. - olivero
  6. - block
  7. config:
  8. # Leave existing blocks and menus as-is.
  9. strict: false
  10. import:
  11. system:
  12. - system.menu.account
  13. - system.menu.main
  14. olivero:
  15. - block.block.olivero_account_menu
  16. - block.block.olivero_breadcrumbs
  17. - block.block.olivero_content
  18. - block.block.olivero_main_menu
  19. - block.block.olivero_powered
  20. - block.block.olivero_primary_admin_actions
  21. - block.block.olivero_primary_local_tasks
  22. - block.block.olivero_secondary_local_tasks
  23. - block.block.olivero_site_branding
  24. - core.date_format.olivero_medium
  25. actions:
  26. # Create these blocks dynamically so as not to conflict with the blocks created
  27. # by block_theme_initialize() when Olivero is installed.
  28. block.block.olivero_messages:
  29. createIfNotExists:
  30. theme: olivero
  31. plugin: system_messages_block
  32. settings:
  33. id: system_messages_block
  34. label: 'Status messages'
  35. label_display: '0'
  36. provider: system
  37. setRegion: highlighted
  38. setStatus: true
  39. setWeight: -5
  40. block.block.olivero_page_title:
  41. createIfNotExists:
  42. theme: olivero
  43. plugin: page_title_block
  44. settings:
  45. id: page_title_block
  46. label: 'Page title'
  47. label_display: '0'
  48. provider: core
  49. setRegion: content_above
  50. setStatus: true
  51. setWeight: -5
  52. system.theme:
  53. simpleConfigUpdate:
  54. default: olivero

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