diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/cgov_home_landing.install b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/cgov_home_landing.install
index 27d78f26a5..38ba69e572 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/cgov_home_landing.install
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/cgov_home_landing.install
@@ -138,3 +138,35 @@ function cgov_home_landing_update_8002() {
\Drupal::logger($bundle)->notice("Created $count rows in $page_style_table.");
}
}
+
+/**
+ * Implements hook_install().
+ *
+ * Deletes the NCIDS Title Block Paragraph.
+ *
+ */
+function cgov_home_landing_update_10001() {
+ // Import the feature to ensure we have the latest configuration.
+ $features_mgr = \Drupal::service('features.manager');
+ $assigner = \Drupal::service('features_assigner');
+ $assigner->assignConfigPackages();
+ $features_mgr->import(['cgov_home_landing']);
+
+ $storage = \Drupal::entityTypeManager()->getStorage('paragraph');
+ $ids = $storage->getQuery()
+ ->condition('type', 'ncids_page_title_block')
+ ->accessCheck(FALSE)
+ ->execute();
+
+ if (!empty($ids)) {
+ $paragraphs = $storage->loadMultiple($ids);
+
+ // Delete existing entities.
+ $storage->delete($paragraphs);
+ }
+
+ // Deletes paragraph config.
+ $config = \Drupal::configFactory()
+ ->getEditable('paragraphs.paragraphs_type.ncids_page_title_block');
+ $config->delete();
+}
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.node.cgov_mini_landing.field_landing_contents.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.node.cgov_mini_landing.field_landing_contents.yml
index 5d8feb389d..7ceea62737 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.node.cgov_mini_landing.field_landing_contents.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.node.cgov_mini_landing.field_landing_contents.yml
@@ -15,7 +15,6 @@ dependencies:
- paragraphs.paragraphs_type.ncids_flag_card_group
- paragraphs.paragraphs_type.ncids_imageless_card_group
- paragraphs.paragraphs_type.ncids_mlp_two_column_layout
- - paragraphs.paragraphs_type.ncids_page_title_block
- paragraphs.paragraphs_type.ncids_slim_hero
- paragraphs.paragraphs_type.ncids_summary_box
- paragraphs.paragraphs_type.ncids_wide_guide_card
@@ -41,7 +40,6 @@ settings:
cgov_card_borderless: cgov_card_borderless
cgov_card_raw_html: cgov_card_raw_html
cgov_dynamic_list: cgov_dynamic_list
- ncids_page_title_block: ncids_page_title_block
ncids_slim_hero: ncids_slim_hero
ncids_3_feature_row_opt_head: ncids_3_feature_row_opt_head
ncids_content_block: ncids_content_block
@@ -205,9 +203,6 @@ settings:
ncids_mlp_two_column_layout:
weight: 99
enabled: true
- ncids_page_title_block:
- weight: 49
- enabled: true
ncids_promo_block_external:
weight: 93
enabled: false
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_flag_card_group.field_row_cards_unlimited.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_flag_card_group.field_row_cards_unlimited.yml
index b1b63e1ae6..1c3e5182fc 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_flag_card_group.field_row_cards_unlimited.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_flag_card_group.field_row_cards_unlimited.yml
@@ -166,9 +166,6 @@ settings:
ncids_link_button_internal:
weight: 98
enabled: false
- ncids_page_title_block:
- weight: 99
- enabled: false
ncids_promo_block_external:
weight: 100
enabled: false
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_imageless_card_group.field_row_cards_unlimited.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_imageless_card_group.field_row_cards_unlimited.yml
index 6628623612..ddd6cf18e2 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_imageless_card_group.field_row_cards_unlimited.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_imageless_card_group.field_row_cards_unlimited.yml
@@ -181,9 +181,6 @@ settings:
ncids_mlp_two_column_layout:
weight: 110
enabled: false
- ncids_page_title_block:
- weight: 99
- enabled: false
ncids_promo_block_external:
weight: 100
enabled: false
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_left_content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_left_content.yml
index 6821053958..c3cc1d2202 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_left_content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_left_content.yml
@@ -166,9 +166,6 @@ settings:
ncids_mlp_two_column_layout:
weight: 100
enabled: false
- ncids_page_title_block:
- weight: 101
- enabled: false
ncids_promo_block_external:
weight: 102
enabled: false
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_right_content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_right_content.yml
index 0426f85035..7f5a331884 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_right_content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_mlp_two_column_layout.field_right_content.yml
@@ -182,9 +182,6 @@ settings:
ncids_mlp_two_column_layout:
weight: 100
enabled: false
- ncids_page_title_block:
- weight: 101
- enabled: false
ncids_promo_block_external:
weight: 102
enabled: false
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_wide_guide_card.field_three_link_buttons.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_wide_guide_card.field_three_link_buttons.yml
index ff37db5c2e..eb8be0f33c 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_wide_guide_card.field_three_link_buttons.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/field.field.paragraph.ncids_wide_guide_card.field_three_link_buttons.yml
@@ -161,9 +161,6 @@ settings:
ncids_link_button_internal:
weight: 97
enabled: true
- ncids_page_title_block:
- weight: 99
- enabled: false
ncids_promo_block_external:
weight: 100
enabled: false
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/paragraphs.paragraphs_type.ncids_page_title_block.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/paragraphs.paragraphs_type.ncids_page_title_block.yml
deleted file mode 100644
index 46892f9b29..0000000000
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/config/install/paragraphs.paragraphs_type.ncids_page_title_block.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-langcode: en
-status: true
-dependencies: { }
-id: ncids_page_title_block
-label: 'NCIDS Page Title Block'
-icon_uuid: null
-icon_default: null
-description: 'NCIDS paragraph block for the page title for Mini Landing Pages'
-behavior_plugins: { }
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ai.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ai.content.yml
index 23916187ee..6cd23092b0 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ai.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ai.content.yml
@@ -31,8 +31,6 @@
- type: 'module'
filename: 'AI-Cancer-Research-Slim-Hero.jpg'
alt: 'AI in Cancer Research alt text'
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ras.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ras.content.yml
index 6668a58c0e..5659ff8857 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ras.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page-ras.content.yml
@@ -31,8 +31,6 @@
- type: 'module'
filename: 'Slim-Hero.png'
alt: 'The RAS Initiative Slim Hero Alt Text'
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page.content.yml
index b9908ac95e..9e4fe6b02d 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids-mini-landing-example-page.content.yml
@@ -36,8 +36,6 @@
### English Contents
field_landing_contents:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_slim_hero"
field_slim_hero_image:
@@ -555,8 +553,6 @@
### Wide Guide Card END ###
field_landing_contents__ES:
## SPANISH CONTENTS HERE
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_slim_hero"
field_slim_hero_image:
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids_understanding_cancer.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids_understanding_cancer.content.yml
index 0e87eb13f1..5f78fee926 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids_understanding_cancer.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/998_ncids_understanding_cancer.content.yml
@@ -716,8 +716,6 @@
### English Contents
field_landing_contents:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
@@ -765,8 +763,6 @@
title: 'Cancer Disparities'
field_landing_contents__ES:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-2-column.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-2-column.content.yml
index 7f0bfc73dd..bb0f63990b 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-2-column.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-2-column.content.yml
@@ -359,8 +359,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -549,11 +547,7 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
field_two_column_layout_display:
@@ -727,8 +721,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_flag_card_group"
@@ -879,8 +871,6 @@
field_override_list_description:
- value: 'DCEG research findings have had a significant impact on public health - both national and global.'
field_landing_contents__ES:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_flag_card_group"
@@ -1072,8 +1062,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -1269,8 +1257,6 @@
name: 'About Cancer Treatment - Image'
### Spanish Contents
field_landing_contents__ES:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -1505,8 +1491,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -1702,8 +1686,6 @@
name: 'About Cancer Treatment - Image'
### Spanish Contents
field_landing_contents__ES:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -1938,8 +1920,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -2135,8 +2115,6 @@
name: 'About Cancer Treatment - Image'
### Spanish Contents
field_landing_contents__ES:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_mlp_two_column_layout"
@@ -2371,8 +2349,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_flag_card_group"
@@ -2523,8 +2499,6 @@
field_override_list_description:
- value: 'DCEG research findings have had a significant impact on public health - both national and global.'
field_landing_contents__ES:
- - entity: "paragraph"
- type: "ncids_page_title_block"
######## Begin Feature Row ###########
- entity: "paragraph"
type: "ncids_flag_card_group"
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-flag-card.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-flag-card.content.yml
index c03eaa971a..861e167e4e 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-flag-card.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids-mini-landing-flag-card.content.yml
@@ -780,8 +780,6 @@
### English Contents
field_landing_contents:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_slim_hero"
field_slim_hero_image:
@@ -912,8 +910,6 @@
value: "ncids_default"
### English Contents
field_landing_contents:
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_mini_landing_imageless_cards.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_mini_landing_imageless_cards.content.yml
index d50ee693a5..dce9e81adb 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_mini_landing_imageless_cards.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_mini_landing_imageless_cards.content.yml
@@ -34,8 +34,6 @@
### English Contents
field_landing_contents:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
@@ -114,8 +112,6 @@
### Spanish Contents
field_landing_contents__ES:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_content_block"
field_html_content:
diff --git a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_wide_guide_card.content.yml b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_wide_guide_card.content.yml
index 3a642768d5..3b1896a480 100644
--- a/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_wide_guide_card.content.yml
+++ b/docroot/profiles/custom/cgov_site/modules/custom/cgov_yaml_content/content/999_ncids_wide_guide_card.content.yml
@@ -23,8 +23,6 @@
### English Contents
field_landing_contents:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_wide_guide_card"
field_html_content:
@@ -183,8 +181,6 @@
### English Contents
field_landing_contents:
######## Begin Feature Row ###########
- - entity: "paragraph"
- type: "ncids_page_title_block"
- entity: "paragraph"
type: "ncids_wide_guide_card"
field_html_content:
diff --git a/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/templates/content/mini_landing/node--cgov-mini-landing--ncids-default--full.html.twig b/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/templates/content/mini_landing/node--cgov-mini-landing--ncids-default--full.html.twig
index de08a4a848..3320cb07ef 100644
--- a/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/templates/content/mini_landing/node--cgov-mini-landing--ncids-default--full.html.twig
+++ b/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/templates/content/mini_landing/node--cgov-mini-landing--ncids-default--full.html.twig
@@ -1,4 +1,7 @@
{{ node.label }}
+