layout_discovery.layouts.yml

Same filename and directory in other branches
  1. 11.x core/modules/layout_discovery/layout_discovery.layouts.yml
  2. 10 core/modules/layout_discovery/layout_discovery.layouts.yml
  3. 9 core/modules/layout_discovery/layout_discovery.layouts.yml
  4. 8.9.x core/modules/layout_discovery/layout_discovery.layouts.yml
core/modules/layout_discovery/layout_discovery.layouts.yml

File

core/modules/layout_discovery/layout_discovery.layouts.yml

View source
  1. layout_onecol:
  2. label: 'One column'
  3. path: layouts/onecol
  4. template: layout--onecol
  5. library: layout_discovery/onecol
  6. category: 'Columns: 1'
  7. default_region: content
  8. icon_map:
  9. - [content]
  10. regions:
  11. content:
  12. label: Content
  13. layout_twocol:
  14. label: 'Two column'
  15. path: layouts/twocol
  16. template: layout--twocol
  17. library: layout_discovery/twocol
  18. category: 'Columns: 2'
  19. default_region: first
  20. icon_map:
  21. - [top]
  22. - [first, second]
  23. - [bottom]
  24. regions:
  25. top:
  26. label: Top
  27. first:
  28. label: First
  29. translation context: 'Layout region'
  30. second:
  31. label: Second
  32. translation context: 'Layout region'
  33. bottom:
  34. label: Bottom
  35. layout_twocol_bricks:
  36. label: 'Two column bricks'
  37. path: layouts/twocol_bricks
  38. template: layout--twocol-bricks
  39. library: layout_discovery/twocol_bricks
  40. category: 'Columns: 2'
  41. default_region: middle
  42. icon_map:
  43. - [top]
  44. - [first_above, second_above]
  45. - [middle]
  46. - [first_below, second_below]
  47. - [bottom]
  48. regions:
  49. top:
  50. label: Top
  51. first_above:
  52. label: 'First above'
  53. second_above:
  54. label: 'Second above'
  55. middle:
  56. label: Middle
  57. first_below:
  58. label: 'First below'
  59. second_below:
  60. label: 'Second below'
  61. bottom:
  62. label: Bottom
  63. layout_threecol_25_50_25:
  64. label: 'Three column 25/50/25'
  65. path: layouts/threecol_25_50_25
  66. template: layout--threecol-25-50-25
  67. library: layout_discovery/threecol_25_50_25
  68. category: 'Columns: 3'
  69. default_region: second
  70. icon_map:
  71. - [top]
  72. - [first, second, second, third]
  73. - [bottom]
  74. regions:
  75. top:
  76. label: Top
  77. first:
  78. label: First
  79. translation context: 'Layout region'
  80. second:
  81. label: Second
  82. translation context: 'Layout region'
  83. third:
  84. label: Third
  85. translation context: 'Layout region'
  86. bottom:
  87. label: Bottom
  88. layout_threecol_33_34_33:
  89. label: 'Three column 33/34/33'
  90. path: layouts/threecol_33_34_33
  91. template: layout--threecol-33-34-33
  92. library: layout_discovery/threecol_33_34_33
  93. category: 'Columns: 3'
  94. default_region: first
  95. icon_map:
  96. - [top]
  97. - [first, second, third]
  98. - [bottom]
  99. regions:
  100. top:
  101. label: Top
  102. first:
  103. label: First
  104. translation context: 'Layout region'
  105. second:
  106. label: Second
  107. translation context: 'Layout region'
  108. third:
  109. label: Third
  110. translation context: 'Layout region'
  111. bottom:
  112. label: Bottom

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