You are here

dashboards.layouts.yml in Dashboards with Layout Builder 8

Same filename and directory in other branches
  1. 2.0.x dashboards.layouts.yml

File

dashboards.layouts.yml
View source
  1. layout_1:
  2. label: 'Dashboard: 2 and one column'
  3. path: templates/layouts
  4. template: layouts--1
  5. category: 'Dashboards'
  6. class: '\Drupal\dashboards\Layouts\SectionLayout'
  7. icon_map:
  8. - [one, three]
  9. - [two, three]
  10. library: dashboards/layouts
  11. regions:
  12. one:
  13. label: Left Top
  14. two:
  15. label: Left Bottom
  16. three:
  17. label: Right
  18. layout_2:
  19. label: 'Dashboard: 3 columns'
  20. path: templates/layouts
  21. template: layouts--2
  22. category: 'Dashboards'
  23. icon_map:
  24. - [one, two, three]
  25. library: dashboards/layouts
  26. regions:
  27. one:
  28. label: Left
  29. two:
  30. label: Middle
  31. three:
  32. label: Right
  33. layout_3:
  34. label: 'Dashboard: 2 Columns'
  35. path: templates/layouts
  36. template: layouts--3
  37. category: 'Dashboards'
  38. class: '\Drupal\dashboards\Layouts\SectionLayout'
  39. icon_map:
  40. - [one, two]
  41. library: dashboards/layouts
  42. regions:
  43. one:
  44. label: Left
  45. two:
  46. label: Right