From e1a01bfe8fc11ad2bc207284275105e1bf3eb16e Mon Sep 17 00:00:00 2001
From: hatuhay <hatuhay@827704.no-reply.drupal.org>
Date: Fri, 22 May 2020 12:14:31 -0500
Subject: [PATCH] Remove layouts from subtheme

---
 .../_bootstrap_barrio_subtheme.layouts.yml    | 62 -------------------
 .../ds/layout--ds-card-3stack.html.twig       | 37 -----------
 .../ds/layout--ds-card-basic.html.twig        | 18 ------
 .../layout--ds-card-header-footer.html.twig   | 36 -----------
 .../layout--ds-card-image-overlay.html.twig   | 29 ---------
 .../ds/layout--ds-card-top-image.html.twig    | 29 ---------
 .../templates/ds/layout--ds-media.html.twig   | 27 --------
 7 files changed, 238 deletions(-)
 delete mode 100644 subtheme/_bootstrap_barrio_subtheme.layouts.yml
 delete mode 100644 subtheme/templates/ds/layout--ds-card-3stack.html.twig
 delete mode 100644 subtheme/templates/ds/layout--ds-card-basic.html.twig
 delete mode 100644 subtheme/templates/ds/layout--ds-card-header-footer.html.twig
 delete mode 100644 subtheme/templates/ds/layout--ds-card-image-overlay.html.twig
 delete mode 100644 subtheme/templates/ds/layout--ds-card-top-image.html.twig
 delete mode 100644 subtheme/templates/ds/layout--ds-media.html.twig

diff --git a/subtheme/_bootstrap_barrio_subtheme.layouts.yml b/subtheme/_bootstrap_barrio_subtheme.layouts.yml
deleted file mode 100644
index c3eee85..0000000
--- a/subtheme/_bootstrap_barrio_subtheme.layouts.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-bb_cardbasic:
-  label: Card basic
-  category: Barrio
-  template: templates/ds/layout--ds-card-basic
-  class: '\Drupal\ds\Plugin\DsLayout'
-  regions:
-    first:
-      label: Content
-bb_cardtopimage:
-  label: Card top image
-  category: Barrio
-  template: templates/ds/layout--ds-card-top-image
-  class: '\Drupal\ds\Plugin\DsLayout'
-  regions:
-    first:
-      label: Image
-    second:
-      label: Content
-bb_cardimageoverlay:
-  label: Card image overlay
-  category: Barrio
-  template: templates/ds/layout--ds-card-image-overlay
-  class: '\Drupal\ds\Plugin\DsLayout'
-  regions:
-    first:
-      label: Image
-    second:
-      label: Content
-bb_cardheaderfooter:
-  label: Card header footer
-  category: Barrio
-  template: templates/ds/layout--ds-card-header-footer
-  class: '\Drupal\ds\Plugin\DsLayout'
-  regions:
-    first:
-      label: Header
-    second:
-      label: Content
-    third:
-      label: Footer
-bb_card3stack:
-  label: Card three block stacked
-  category: Barrio
-  template: templates/ds/layout--ds-card-3stack
-  class: '\Drupal\ds\Plugin\DsLayout'
-  regions:
-    first:
-      label: First
-    second:
-      label: Image
-    third:
-      label: Second
-bb_media:
-  label: Media
-  category: Barrio
-  template: templates/ds/layout--ds-media
-  class: '\Drupal\ds\Plugin\DsLayout'
-  regions:
-    first:
-      label: Image
-    second:
-      label: Content
diff --git a/subtheme/templates/ds/layout--ds-card-3stack.html.twig b/subtheme/templates/ds/layout--ds-card-3stack.html.twig
deleted file mode 100644
index 82732bb..0000000
--- a/subtheme/templates/ds/layout--ds-card-3stack.html.twig
+++ /dev/null
@@ -1,37 +0,0 @@
-{#
-/**
- * @file
- * Display Suite 4 column template.
- *
- * Available variables:
- * - outer_wrapper: outer wrapper element
- * - first_wrapper: wrapper element around first region
- * - second_wrapper: wrapper element around second region
- * - third_wrapper: wrapper element around third region
- * - attributes: layout attributes
- * - first_attributes: attributes for first region
- * - second_attributes: attributes for second region
- * - third_attributes: attributes for third region
- * - fourth_attributes: attributes for fourth region
- * - first: content of first region
- * - second: content of second region
- * - third: content of third region
- */
-#}
-<{{ outer_wrapper }}{{ attributes.addClass('card', 'clearfix') }}>
-
-  {{ title_suffix.contextual_links }}
-
-  <{{ first_wrapper }}{{ first_attributes.addClass('card-block card-body') }}>
-    {{ first }}
-  </{{ first_wrapper }}>
-
-  <{{ second_wrapper }}{{ second_attributes.addClass('card-img') }}>
-    {{ second }}
-  </{{ second_wrapper }}>
-
-  <{{ third_wrapper }}{{ third_attributes.addClass('card-block card-body') }}>
-    {{ third }}
-  </{{ third_wrapper }}>
-
-</{{ outer_wrapper }}>
diff --git a/subtheme/templates/ds/layout--ds-card-basic.html.twig b/subtheme/templates/ds/layout--ds-card-basic.html.twig
deleted file mode 100644
index 6ee4183..0000000
--- a/subtheme/templates/ds/layout--ds-card-basic.html.twig
+++ /dev/null
@@ -1,18 +0,0 @@
-{#
-/**
- * @file
- * Display Suite simple card.
- *
- * Available variables:
- * - outer_wrapper: outer wrapper element
- * - attributes: layout attributes
- * - first: content of first region
- */
-#}
-<{{ outer_wrapper }}{{ attributes.addClass('card', 'clearfix', 'card-block', 'card-body') }}>
-
-  {{ title_suffix.contextual_links }}
-
-  {{ first }}
-
-</{{ outer_wrapper }}>
diff --git a/subtheme/templates/ds/layout--ds-card-header-footer.html.twig b/subtheme/templates/ds/layout--ds-card-header-footer.html.twig
deleted file mode 100644
index 5f736d3..0000000
--- a/subtheme/templates/ds/layout--ds-card-header-footer.html.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-{#
-/**
- * @file
- * Display Suite card header footer template.
- *
- * Available variables:
- * - outer_wrapper: outer wrapper element
- * - first_wrapper: wrapper element around first region
- * - second_wrapper: wrapper element around second region
- * - third_wrapper: wrapper element around third region
- * - attributes: layout attributes
- * - first_attributes: attributes for first region
- * - second_attributes: attributes for second region
- * - third_attributes: attributes for third region
- * - first: content of first region
- * - second: content of second region
- * - third: content of third region
- */
-#}
-<{{ outer_wrapper }}{{ attributes.addClass('card', 'clearfix') }}>
-
-  {{ title_suffix.contextual_links }}
-
-  <{{ first_wrapper }}{{ first_attributes.addClass('card-header') }}>
-    {{ first }}
-  </{{ first_wrapper }}>
-
-  <{{ second_wrapper }}{{ second_attributes.addClass('card-block card-body') }}>
-    {{ second }}
-  </{{ second_wrapper }}>
-
-  <{{ third_wrapper }}{{ third_attributes.addClass('card-footer') }}>
-    {{ third }}
-  </{{ third_wrapper }}>
-
-</{{ outer_wrapper }}>
diff --git a/subtheme/templates/ds/layout--ds-card-image-overlay.html.twig b/subtheme/templates/ds/layout--ds-card-image-overlay.html.twig
deleted file mode 100644
index 01f98c9..0000000
--- a/subtheme/templates/ds/layout--ds-card-image-overlay.html.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-{#
-/**
- * @file
- * Display Suite card image top.
- *
- * Available variables:
- * - outer_wrapper: outer wrapper element
- * - first_wrapper: wrapper element around first region
- * - second_wrapper: wrapper element around second region
- * - attributes: layout attributes
- * - first_attributes: attributes for first region
- * - second_attributes: attributes for second region
- * - first: content of first region
- * - second: content of second region
- */
-#}
-<{{ outer_wrapper }}{{ attributes.addClass('card') }}>
-
-  {{ title_suffix.contextual_links }}
-
-  <{{ first_wrapper }}{{ first_attributes.addClass('card-img') }}>
-    {{ first }}
-  </{{ first_wrapper }}>
-
-  <{{ second_wrapper }}{{ second_attributes.addClass('card-img-overlay') }}>
-    {{ second }}
-  </{{ second_wrapper }}>
-
-</{{ outer_wrapper }}>
diff --git a/subtheme/templates/ds/layout--ds-card-top-image.html.twig b/subtheme/templates/ds/layout--ds-card-top-image.html.twig
deleted file mode 100644
index 2e57f69..0000000
--- a/subtheme/templates/ds/layout--ds-card-top-image.html.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-{#
-/**
- * @file
- * Display Suite card image top.
- *
- * Available variables:
- * - outer_wrapper: outer wrapper element
- * - first_wrapper: wrapper element around first region
- * - second_wrapper: wrapper element around second region
- * - attributes: layout attributes
- * - first_attributes: attributes for first region
- * - second_attributes: attributes for second region
- * - first: content of first region
- * - second: content of second region
- */
-#}
-<{{ outer_wrapper }}{{ attributes.addClass('card', 'clearfix') }}>
-
-  {{ title_suffix.contextual_links }}
-
-  <{{ first_wrapper }}{{ first_attributes.addClass('card-img-top') }}>
-    {{ first }}
-  </{{ first_wrapper }}>
-
-  <{{ second_wrapper }}{{ second_attributes.addClass('card-block') }}>
-    {{ second }}
-  </{{ second_wrapper }}>
-
-</{{ outer_wrapper }}>
diff --git a/subtheme/templates/ds/layout--ds-media.html.twig b/subtheme/templates/ds/layout--ds-media.html.twig
deleted file mode 100644
index 3e330fa..0000000
--- a/subtheme/templates/ds/layout--ds-media.html.twig
+++ /dev/null
@@ -1,27 +0,0 @@
-{#
-/**
- * @file
- * Display Suite media.
- *
- * Available variables:
- * - outer_wrapper: outer wrapper element
- * - first_wrapper: wrapper element around first region
- * - second_wrapper: wrapper element around second region
- * - attributes: layout attributes
- * - first_attributes: attributes for first region
- * - second_attributes: attributes for second region
- * - first: content of first region
- * - second: content of second region
- */
-#}
-<{{ outer_wrapper }}{{ attributes.addClass('media', 'clearfix') }}>
-
-  {{ title_suffix.contextual_links }}
-
-  {{ first }}
-
-  <{{ second_wrapper }}{{ second_attributes.addClass('media-body') }}>
-    {{ second }}
-  </{{ second_wrapper }}>
-
-</{{ outer_wrapper }}>
-- 
GitLab