Skip to content
Snippets Groups Projects
Commit 105c31df authored by John Ouellet's avatar John Ouellet Committed by Alberto Siles
Browse files

Issue #2944011 by labboy0276: Layouts break Layout Builder

parent e7749c2c
No related branches found
No related tags found
No related merge requests found
bb_cardbasic:
label: Card basic
category: Barrio
class: '\Drupal\ds\Plugin\DsLayout'
type: partial
template: templates/ds/ds-card-basic
template: templates/ds/layout--ds-card-basic
regions:
first:
label: Content
bb_cardtopimage:
label: Card top image
category: Barrio
class: '\Drupal\ds\Plugin\DsLayout'
type: partial
template: templates/ds/ds-card-top-image
template: templates/ds/layout--ds-card-top-image
regions:
first:
label: Image
......@@ -21,9 +17,7 @@ bb_cardtopimage:
bb_cardimageoverlay:
label: Card image overlay
category: Barrio
class: '\Drupal\ds\Plugin\DsLayout'
type: partial
template: templates/ds/ds-card-image-overlay
template: templates/ds/layout--ds-card-image-overlay
regions:
first:
label: Image
......@@ -32,9 +26,7 @@ bb_cardimageoverlay:
bb_cardheaderfooter:
label: Card header footer
category: Barrio
class: '\Drupal\ds\Plugin\DsLayout'
type: partial
template: templates/ds/ds-card-header-footer
template: templates/ds/layout--ds-card-header-footer
regions:
first:
label: Header
......@@ -45,9 +37,7 @@ bb_cardheaderfooter:
bb_card3stack:
label: Card three block stacked
category: Barrio
class: '\Drupal\ds\Plugin\DsLayout'
type: partial
template: templates/ds/ds-card-3stack
template: templates/ds/layout--ds-card-3stack
regions:
first:
label: First
......
......@@ -36,6 +36,7 @@
'block-' ~ plugin_id|clean_class,
plugin_id == 'system_main_block' ? 'col-12',
plugin_id == 'page_title_block' ? 'col-12',
plugin_id == 'System_breadcrumb_block' ? 'col-12',
]
%}
<div{{ attributes.addClass(classes) }}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment