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. import:
  9. system:
  10. - system.menu.account
  11. - system.menu.main
  12. olivero:
  13. - block.block.olivero_account_menu
  14. - block.block.olivero_breadcrumbs
  15. - block.block.olivero_content
  16. - block.block.olivero_main_menu
  17. - block.block.olivero_powered
  18. - block.block.olivero_primary_admin_actions
  19. - block.block.olivero_primary_local_tasks
  20. - block.block.olivero_secondary_local_tasks
  21. - block.block.olivero_site_branding
  22. - core.date_format.olivero_medium
  23. actions:
  24. # Create these blocks dynamically so as not to conflict with the blocks created
  25. # by block_theme_initialize() when Olivero is installed.
  26. block.block.olivero_messages:
  27. createIfNotExists:
  28. theme: olivero
  29. plugin: system_messages_block
  30. settings:
  31. id: system_messages_block
  32. label: 'Status messages'
  33. label_display: '0'
  34. provider: system
  35. setRegion: highlighted
  36. setStatus: true
  37. setWeight: -5
  38. block.block.olivero_page_title:
  39. createIfNotExists:
  40. theme: olivero
  41. plugin: page_title_block
  42. settings:
  43. id: page_title_block
  44. label: 'Page title'
  45. label_display: '0'
  46. provider: core
  47. setRegion: content_above
  48. setStatus: true
  49. setWeight: -5
  50. system.theme:
  51. simpleConfigUpdate:
  52. default: olivero

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