recipe.yml

core/recipes/core_recommended_admin_theme/recipe.yml

File

core/recipes/core_recommended_admin_theme/recipe.yml

View source
  1. name: 'Admin theme'
  2. description: 'Sets up Claro as the administrative (backend) theme.'
  3. type: 'Themes'
  4. install:
  5. - claro
  6. - block
  7. config:
  8. import:
  9. system:
  10. - system.menu.account
  11. - system.menu.main
  12. claro:
  13. - block.block.claro_breadcrumbs
  14. - block.block.claro_content
  15. - block.block.claro_local_actions
  16. - block.block.claro_messages
  17. - block.block.claro_primary_local_tasks
  18. - block.block.claro_secondary_local_tasks
  19. actions:
  20. # Create this block dynamically so as not to conflict with the block created
  21. # by block_theme_initialize() when Claro is installed.
  22. block.block.claro_page_title:
  23. createIfNotExists:
  24. theme: claro
  25. plugin: page_title_block
  26. settings:
  27. id: page_title_block
  28. label: 'Page title'
  29. label_display: '0'
  30. provider: core
  31. setRegion: header
  32. setStatus: true
  33. setWeight: -30
  34. system.theme:
  35. simpleConfigUpdate:
  36. admin: claro

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