diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_description_list.oe_bt_orientation.yml b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_description_list.oe_w_orientation.yml similarity index 76% rename from modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_description_list.oe_bt_orientation.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_description_list.oe_w_orientation.yml index 73b09a472d8fca82e66e5c1a1ccda494d88fb33c..1e4485067b688200c42911900ab62475a4b6bdb3 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_description_list.oe_bt_orientation.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_description_list.oe_w_orientation.yml @@ -2,12 +2,12 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_orientation + - field.storage.paragraph.oe_w_orientation - paragraphs.paragraphs_type.oe_description_list module: - options -id: paragraph.oe_description_list.oe_bt_orientation -field_name: oe_bt_orientation +id: paragraph.oe_description_list.oe_w_orientation +field_name: oe_w_orientation entity_type: paragraph bundle: oe_description_list label: Orientation diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.field.paragraph.oe_facts_figures.oe_bt_n_columns.yml b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_facts_figures.oe_w_n_columns.yml similarity index 78% rename from modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.field.paragraph.oe_facts_figures.oe_bt_n_columns.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_facts_figures.oe_w_n_columns.yml index eec70a14e1e037db51893287df01d018fc6b868e..0165929a535a538b03fa540f3e04559de6f79196 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.field.paragraph.oe_facts_figures.oe_bt_n_columns.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_facts_figures.oe_w_n_columns.yml @@ -2,10 +2,10 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_n_columns + - field.storage.paragraph.oe_w_n_columns - paragraphs.paragraphs_type.oe_facts_figures -id: paragraph.oe_facts_figures.oe_bt_n_columns -field_name: oe_bt_n_columns +id: paragraph.oe_facts_figures.oe_w_n_columns +field_name: oe_w_n_columns entity_type: paragraph bundle: oe_facts_figures label: 'Number of columns' diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_bt_links_block_background.yml b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_w_links_block_background.yml similarity index 71% rename from modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_bt_links_block_background.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_w_links_block_background.yml index de66c69713d5ed89c8815b1dbdb3f599a21eb2cd..5ac9c7283d806caea21c96d50c30e23a1638478f 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_bt_links_block_background.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_w_links_block_background.yml @@ -2,12 +2,12 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_links_block_background + - field.storage.paragraph.oe_w_links_block_background - paragraphs.paragraphs_type.oe_links_block module: - options -id: paragraph.oe_links_block.oe_bt_links_block_background -field_name: oe_bt_links_block_background +id: paragraph.oe_links_block.oe_w_links_block_background +field_name: oe_w_links_block_background entity_type: paragraph bundle: oe_links_block label: Background diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_bt_links_block_orientation.yml b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_w_links_block_orientation.yml similarity index 70% rename from modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_bt_links_block_orientation.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_w_links_block_orientation.yml index 610c35d3739f035f44364e2852bebd7247e1698c..2b3bf721cd4d0977d63d9d4704a4de7bf6651abc 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_bt_links_block_orientation.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_links_block.oe_w_links_block_orientation.yml @@ -2,12 +2,12 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_links_block_orientation + - field.storage.paragraph.oe_w_links_block_orientation - paragraphs.paragraphs_type.oe_links_block module: - options -id: paragraph.oe_links_block.oe_bt_links_block_orientation -field_name: oe_bt_links_block_orientation +id: paragraph.oe_links_block.oe_w_links_block_orientation +field_name: oe_w_links_block_orientation entity_type: paragraph bundle: oe_links_block label: Orientation diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_social_media_follow.oe_bt_links_block_background.yml b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_social_media_follow.oe_w_links_block_background.yml similarity index 71% rename from modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_social_media_follow.oe_bt_links_block_background.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_social_media_follow.oe_w_links_block_background.yml index 8e167195da6f02c6d387c8ad0c0426a04a6123cb..2d8fae0997a07142a7c96abde650945242f4e174 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_social_media_follow.oe_bt_links_block_background.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_social_media_follow.oe_w_links_block_background.yml @@ -2,12 +2,12 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_links_block_background + - field.storage.paragraph.oe_w_links_block_background - paragraphs.paragraphs_type.oe_social_media_follow module: - options -id: paragraph.oe_social_media_follow.oe_bt_links_block_background -field_name: oe_bt_links_block_background +id: paragraph.oe_social_media_follow.oe_w_links_block_background +field_name: oe_w_links_block_background entity_type: paragraph bundle: oe_social_media_follow label: Background diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_links_block_background.yml b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_links_block_background.yml similarity index 82% rename from modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_links_block_background.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_links_block_background.yml index 1a7dbec06489349b31b105c506d6256d6ca9d4f8..289994964b5e648b871e282b6401cc5eea15e1c2 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_links_block_background.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_links_block_background.yml @@ -4,8 +4,8 @@ dependencies: module: - options - paragraphs -id: paragraph.oe_bt_links_block_background -field_name: oe_bt_links_block_background +id: paragraph.oe_w_links_block_background +field_name: oe_w_links_block_background entity_type: paragraph type: list_string settings: diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_links_block_orientation.yml b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_links_block_orientation.yml similarity index 82% rename from modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_links_block_orientation.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_links_block_orientation.yml index d582eb8126c744b0643c987431a6cc6dfa4cbd20..afdf66e7c4492520eca3363e353f96de3a01728d 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_links_block_orientation.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_links_block_orientation.yml @@ -4,8 +4,8 @@ dependencies: module: - options - paragraphs -id: paragraph.oe_bt_links_block_orientation -field_name: oe_bt_links_block_orientation +id: paragraph.oe_w_links_block_orientation +field_name: oe_w_links_block_orientation entity_type: paragraph type: list_string settings: diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.storage.paragraph.oe_bt_n_columns.yml b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_n_columns.yml similarity index 82% rename from modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.storage.paragraph.oe_bt_n_columns.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_n_columns.yml index f2a740718db02227ad37f1ae65b8a425745e32e1..3a1a9cbc933ff4161eceafc3b82e011e6d27650e 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.storage.paragraph.oe_bt_n_columns.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_n_columns.yml @@ -3,8 +3,8 @@ status: true dependencies: module: - paragraphs -id: paragraph.oe_bt_n_columns -field_name: oe_bt_n_columns +id: paragraph.oe_w_n_columns +field_name: oe_w_n_columns entity_type: paragraph type: integer settings: diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_orientation.yml b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_orientation.yml similarity index 86% rename from modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_orientation.yml rename to modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_orientation.yml index 94f290a8e681aa0e93bef75192d167d80ea24ae5..f277e814004868e566513e2f99b0967d2353bc43 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_orientation.yml +++ b/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_w_orientation.yml @@ -4,8 +4,8 @@ dependencies: module: - options - paragraphs -id: paragraph.oe_bt_orientation -field_name: oe_bt_orientation +id: paragraph.oe_w_orientation +field_name: oe_w_orientation entity_type: paragraph type: list_string settings: diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_description_list.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_description_list.default.yml index 363809ded20fc2b2eacfdfd196394aab4919bc7e..0391e2563c5e154fe620db0d956c779898120dcc 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_description_list.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_description_list.default.yml @@ -4,7 +4,7 @@ dependencies: config: - field.field.paragraph.oe_description_list.field_oe_description_list_items - field.field.paragraph.oe_description_list.field_oe_title - - field.field.paragraph.oe_description_list.oe_bt_orientation + - field.field.paragraph.oe_description_list.oe_w_orientation - paragraphs.paragraphs_type.oe_description_list module: - description_list_field @@ -27,7 +27,7 @@ content: third_party_settings: { } type: string_textfield region: content - oe_bt_orientation: + oe_w_orientation: type: options_select weight: 0 region: content diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_facts_figures.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_facts_figures.default.yml index 96a0c1fb937db07a8b97809f529596638e47e7f7..d12c53635d2c77c6c32100fac6d0d685ededd07b 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_facts_figures.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_facts_figures.default.yml @@ -5,7 +5,7 @@ dependencies: - field.field.paragraph.oe_facts_figures.field_oe_link - field.field.paragraph.oe_facts_figures.field_oe_paragraphs - field.field.paragraph.oe_facts_figures.field_oe_title - - field.field.paragraph.oe_facts_figures.oe_bt_n_columns + - field.field.paragraph.oe_facts_figures.oe_w_n_columns - paragraphs.paragraphs_type.oe_facts_figures module: - link @@ -49,7 +49,7 @@ content: size: 60 placeholder: '' third_party_settings: { } - oe_bt_n_columns: + oe_w_n_columns: weight: 6 settings: placeholder: '' diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_links_block.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_links_block.default.yml index 1fab747a22e1e43d52010c60ebedf587a1626af9..0e2b032e74278f92682b0096ed2233083b517129 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_links_block.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_links_block.default.yml @@ -3,8 +3,8 @@ status: true dependencies: config: - field.field.paragraph.oe_links_block.field_oe_links - - field.field.paragraph.oe_links_block.oe_bt_links_block_background - - field.field.paragraph.oe_links_block.oe_bt_links_block_orientation + - field.field.paragraph.oe_links_block.oe_w_links_block_background + - field.field.paragraph.oe_links_block.oe_w_links_block_orientation - field.field.paragraph.oe_links_block.field_oe_text - paragraphs.paragraphs_type.oe_links_block module: @@ -22,13 +22,13 @@ content: third_party_settings: { } type: link_default region: content - oe_bt_links_block_background: + oe_w_links_block_background: weight: 1 settings: { } third_party_settings: { } type: options_select region: content - oe_bt_links_block_orientation: + oe_w_links_block_orientation: weight: 0 settings: { } third_party_settings: { } diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_social_media_follow.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_social_media_follow.default.yml index 8b7cd07f113fb1fe70c0a66b81df425bdd18d7fa..95a3846901360edb5e74ae1e74add620785ad8db 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_social_media_follow.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_form_display.paragraph.oe_social_media_follow.default.yml @@ -2,7 +2,7 @@ langcode: en status: true dependencies: config: - - field.field.paragraph.oe_social_media_follow.oe_bt_links_block_background + - field.field.paragraph.oe_social_media_follow.oe_w_links_block_background - field.field.paragraph.oe_social_media_follow.field_oe_social_media_links - field.field.paragraph.oe_social_media_follow.field_oe_social_media_see_more - field.field.paragraph.oe_social_media_follow.field_oe_social_media_variant @@ -16,7 +16,7 @@ targetEntityType: paragraph bundle: oe_social_media_follow mode: default content: - oe_bt_links_block_background: + oe_w_links_block_background: type: options_select weight: 1 region: content diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_description_list.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_description_list.default.yml index 2e3b81d7d058e73fe447b41c76b363752f1c411b..b303a9e948f2afefed72a181681a3b630806259f 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_description_list.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_description_list.default.yml @@ -2,7 +2,7 @@ langcode: en status: true dependencies: config: - - field.field.paragraph.oe_description_list.oe_bt_orientation + - field.field.paragraph.oe_description_list.oe_w_orientation - field.field.paragraph.oe_description_list.field_oe_description_list_items - field.field.paragraph.oe_description_list.field_oe_title - paragraphs.paragraphs_type.oe_description_list @@ -29,4 +29,4 @@ content: type: string region: content hidden: - oe_bt_orientation: true + oe_w_orientation: true diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_facts_figures.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_facts_figures.default.yml index e9dd9cf684fb08b7f2b8542a2fe0d4bfe93076c6..6b3d6961e433fcc76b6cdd48466e6fb9e1f10a63 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_facts_figures.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_facts_figures.default.yml @@ -5,7 +5,7 @@ dependencies: - field.field.paragraph.oe_facts_figures.field_oe_link - field.field.paragraph.oe_facts_figures.field_oe_paragraphs - field.field.paragraph.oe_facts_figures.field_oe_title - - field.field.paragraph.oe_facts_figures.oe_bt_n_columns + - field.field.paragraph.oe_facts_figures.oe_w_n_columns - paragraphs.paragraphs_type.oe_facts_figures module: - entity_reference_revisions @@ -45,4 +45,4 @@ content: type: string region: content hidden: - oe_bt_n_columns: true + oe_w_n_columns: true diff --git a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_social_media_follow.default.yml b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_social_media_follow.default.yml index 8e15a2313f92cfd423cb4bb1c7b11f0b481b0fca..1177db68e7a9422cc1724e9af370f54eb2257ba7 100644 --- a/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_social_media_follow.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/overrides/core.entity_view_display.paragraph.oe_social_media_follow.default.yml @@ -2,7 +2,7 @@ langcode: en status: true dependencies: config: - - field.field.paragraph.oe_social_media_follow.oe_bt_links_block_background + - field.field.paragraph.oe_social_media_follow.oe_w_links_block_background - field.field.paragraph.oe_social_media_follow.field_oe_social_media_links - field.field.paragraph.oe_social_media_follow.field_oe_social_media_see_more - field.field.paragraph.oe_social_media_follow.field_oe_social_media_variant @@ -49,5 +49,5 @@ content: type: string region: content hidden: - oe_bt_links_block_background: true + oe_w_links_block_background: true field_oe_social_media_variant: true diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_form_display.paragraph.oe_description_list.default.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_form_display.paragraph.oe_description_list.default.yml index 363809ded20fc2b2eacfdfd196394aab4919bc7e..0391e2563c5e154fe620db0d956c779898120dcc 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_form_display.paragraph.oe_description_list.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_form_display.paragraph.oe_description_list.default.yml @@ -4,7 +4,7 @@ dependencies: config: - field.field.paragraph.oe_description_list.field_oe_description_list_items - field.field.paragraph.oe_description_list.field_oe_title - - field.field.paragraph.oe_description_list.oe_bt_orientation + - field.field.paragraph.oe_description_list.oe_w_orientation - paragraphs.paragraphs_type.oe_description_list module: - description_list_field @@ -27,7 +27,7 @@ content: third_party_settings: { } type: string_textfield region: content - oe_bt_orientation: + oe_w_orientation: type: options_select weight: 0 region: content diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_view_display.paragraph.oe_description_list.default.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_view_display.paragraph.oe_description_list.default.yml index 2e3b81d7d058e73fe447b41c76b363752f1c411b..b303a9e948f2afefed72a181681a3b630806259f 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_view_display.paragraph.oe_description_list.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/core.entity_view_display.paragraph.oe_description_list.default.yml @@ -2,7 +2,7 @@ langcode: en status: true dependencies: config: - - field.field.paragraph.oe_description_list.oe_bt_orientation + - field.field.paragraph.oe_description_list.oe_w_orientation - field.field.paragraph.oe_description_list.field_oe_description_list_items - field.field.paragraph.oe_description_list.field_oe_title - paragraphs.paragraphs_type.oe_description_list @@ -29,4 +29,4 @@ content: type: string region: content hidden: - oe_bt_orientation: true + oe_w_orientation: true diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.field.paragraph.oe_description_list.oe_bt_orientation.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.field.paragraph.oe_description_list.oe_w_orientation.yml similarity index 76% rename from modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.field.paragraph.oe_description_list.oe_bt_orientation.yml rename to modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.field.paragraph.oe_description_list.oe_w_orientation.yml index 73b09a472d8fca82e66e5c1a1ccda494d88fb33c..1e4485067b688200c42911900ab62475a4b6bdb3 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.field.paragraph.oe_description_list.oe_bt_orientation.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.field.paragraph.oe_description_list.oe_w_orientation.yml @@ -2,12 +2,12 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_orientation + - field.storage.paragraph.oe_w_orientation - paragraphs.paragraphs_type.oe_description_list module: - options -id: paragraph.oe_description_list.oe_bt_orientation -field_name: oe_bt_orientation +id: paragraph.oe_description_list.oe_w_orientation +field_name: oe_w_orientation entity_type: paragraph bundle: oe_description_list label: Orientation diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.storage.paragraph.oe_bt_orientation.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.storage.paragraph.oe_w_orientation.yml similarity index 86% rename from modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.storage.paragraph.oe_bt_orientation.yml rename to modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.storage.paragraph.oe_w_orientation.yml index 94f290a8e681aa0e93bef75192d167d80ea24ae5..f277e814004868e566513e2f99b0967d2353bc43 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.storage.paragraph.oe_bt_orientation.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00001/field.storage.paragraph.oe_w_orientation.yml @@ -4,8 +4,8 @@ dependencies: module: - options - paragraphs -id: paragraph.oe_bt_orientation -field_name: oe_bt_orientation +id: paragraph.oe_w_orientation +field_name: oe_w_orientation entity_type: paragraph type: list_string settings: diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_form_display.paragraph.oe_facts_figures.default.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_form_display.paragraph.oe_facts_figures.default.yml index 96a0c1fb937db07a8b97809f529596638e47e7f7..d12c53635d2c77c6c32100fac6d0d685ededd07b 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_form_display.paragraph.oe_facts_figures.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_form_display.paragraph.oe_facts_figures.default.yml @@ -5,7 +5,7 @@ dependencies: - field.field.paragraph.oe_facts_figures.field_oe_link - field.field.paragraph.oe_facts_figures.field_oe_paragraphs - field.field.paragraph.oe_facts_figures.field_oe_title - - field.field.paragraph.oe_facts_figures.oe_bt_n_columns + - field.field.paragraph.oe_facts_figures.oe_w_n_columns - paragraphs.paragraphs_type.oe_facts_figures module: - link @@ -49,7 +49,7 @@ content: size: 60 placeholder: '' third_party_settings: { } - oe_bt_n_columns: + oe_w_n_columns: weight: 6 settings: placeholder: '' diff --git a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_view_display.paragraph.oe_facts_figures.default.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_view_display.paragraph.oe_facts_figures.default.yml index e9dd9cf684fb08b7f2b8542a2fe0d4bfe93076c6..6b3d6961e433fcc76b6cdd48466e6fb9e1f10a63 100644 --- a/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_view_display.paragraph.oe_facts_figures.default.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/core.entity_view_display.paragraph.oe_facts_figures.default.yml @@ -5,7 +5,7 @@ dependencies: - field.field.paragraph.oe_facts_figures.field_oe_link - field.field.paragraph.oe_facts_figures.field_oe_paragraphs - field.field.paragraph.oe_facts_figures.field_oe_title - - field.field.paragraph.oe_facts_figures.oe_bt_n_columns + - field.field.paragraph.oe_facts_figures.oe_w_n_columns - paragraphs.paragraphs_type.oe_facts_figures module: - entity_reference_revisions @@ -45,4 +45,4 @@ content: type: string region: content hidden: - oe_bt_n_columns: true + oe_w_n_columns: true diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_facts_figures.oe_bt_n_columns.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.field.paragraph.oe_facts_figures.oe_w_n_columns.yml similarity index 78% rename from modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_facts_figures.oe_bt_n_columns.yml rename to modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.field.paragraph.oe_facts_figures.oe_w_n_columns.yml index eec70a14e1e037db51893287df01d018fc6b868e..0165929a535a538b03fa540f3e04559de6f79196 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.field.paragraph.oe_facts_figures.oe_bt_n_columns.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.field.paragraph.oe_facts_figures.oe_w_n_columns.yml @@ -2,10 +2,10 @@ langcode: en status: true dependencies: config: - - field.storage.paragraph.oe_bt_n_columns + - field.storage.paragraph.oe_w_n_columns - paragraphs.paragraphs_type.oe_facts_figures -id: paragraph.oe_facts_figures.oe_bt_n_columns -field_name: oe_bt_n_columns +id: paragraph.oe_facts_figures.oe_w_n_columns +field_name: oe_w_n_columns entity_type: paragraph bundle: oe_facts_figures label: 'Number of columns' diff --git a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_n_columns.yml b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.storage.paragraph.oe_w_n_columns.yml similarity index 82% rename from modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_n_columns.yml rename to modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.storage.paragraph.oe_w_n_columns.yml index f2a740718db02227ad37f1ae65b8a425745e32e1..3a1a9cbc933ff4161eceafc3b82e011e6d27650e 100644 --- a/modules/oe_whitelabel_paragraphs/config/install/field.storage.paragraph.oe_bt_n_columns.yml +++ b/modules/oe_whitelabel_paragraphs/config/post_updates/00003/field.storage.paragraph.oe_w_n_columns.yml @@ -3,8 +3,8 @@ status: true dependencies: module: - paragraphs -id: paragraph.oe_bt_n_columns -field_name: oe_bt_n_columns +id: paragraph.oe_w_n_columns +field_name: oe_w_n_columns entity_type: paragraph type: integer settings: diff --git a/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.info.yml b/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.info.yml index 5f237ddddf1e9b95147a9eda8545e93ec51a04b8..649b4b57ef366aa9f6a9462859559079e2ecf18c 100644 --- a/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.info.yml +++ b/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.info.yml @@ -12,12 +12,12 @@ dependencies: - oe_paragraphs:oe_paragraphs_description_list config_devel: install: - - field.field.paragraph.oe_links_block.oe_bt_links_block_background - - field.field.paragraph.oe_links_block.oe_bt_links_block_orientation - - field.field.paragraph.oe_social_media_follow.oe_bt_links_block_background - - field.field.paragraph.oe_facts_figures.oe_bt_n_columns - - field.storage.paragraph.oe_bt_links_block_orientation - - field.storage.paragraph.oe_bt_links_block_background - - field.field.paragraph.oe_description_list.oe_bt_orientation - - field.storage.paragraph.oe_bt_orientation - - field.storage.paragraph.oe_bt_n_columns + - field.field.paragraph.oe_links_block.oe_w_links_block_background + - field.field.paragraph.oe_links_block.oe_w_links_block_orientation + - field.field.paragraph.oe_social_media_follow.oe_w_links_block_background + - field.field.paragraph.oe_facts_figures.oe_w_n_columns + - field.storage.paragraph.oe_w_links_block_orientation + - field.storage.paragraph.oe_w_links_block_background + - field.field.paragraph.oe_description_list.oe_w_orientation + - field.storage.paragraph.oe_w_orientation + - field.storage.paragraph.oe_w_n_columns diff --git a/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.module b/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.module index d70b613b16847fccc66bca6a1223453fc3280521..f6e641c3a50b8d427ebd3c4900017b2daadc6bf7 100644 --- a/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.module +++ b/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.module @@ -47,8 +47,8 @@ function oe_whitelabel_paragraphs_theme_suggestions_field_alter(array &$suggesti function oe_whitelabel_paragraphs_preprocess_paragraph__oe_links_block(array &$variables): void { /** @var \Drupal\paragraphs\Entity\Paragraph $paragraph */ $paragraph = $variables['paragraph']; - $variables['orientation'] = $paragraph->get('oe_bt_links_block_orientation')->value; - $variables['background'] = $paragraph->get('oe_bt_links_block_background')->value; + $variables['orientation'] = $paragraph->get('oe_w_links_block_orientation')->value; + $variables['background'] = $paragraph->get('oe_w_links_block_background')->value; if (!$paragraph->get('field_oe_text')->isEmpty()) { $variables['title'] = $paragraph->get('field_oe_text')->value; } @@ -68,7 +68,7 @@ function oe_whitelabel_preprocess_paragraph__oe_social_media_follow(array &$vari /** @var \Drupal\paragraphs\Entity\Paragraph $paragraph */ $paragraph = $variables['paragraph']; $variables['orientation'] = $paragraph->get('field_oe_social_media_variant')->value; - $variables['background'] = $paragraph->get('oe_bt_links_block_background')->value; + $variables['background'] = $paragraph->get('oe_w_links_block_background')->value; if (!$paragraph->get('field_oe_title')->isEmpty()) { $variables['title'] = $paragraph->get('field_oe_title')->value; } @@ -406,7 +406,7 @@ function oe_whitelabel_preprocess_paragraph__oe_description_list(array &$variabl /** @var Drupal\paragraphs\Entity\Paragraph $paragraph */ $paragraph = $variables['paragraph']; $variables['title'] = $paragraph->get('field_oe_title')->value ?? ''; - $variables['orientation'] = $paragraph->get('oe_bt_orientation')->value; + $variables['orientation'] = $paragraph->get('oe_w_orientation')->value; foreach ($paragraph->get('field_oe_description_list_items') as $item) { $variables['items'][] = [ @@ -450,8 +450,8 @@ function oe_whitelabel_preprocess_paragraph__oe_facts_figures(array &$variables) ]; } - if (!$paragraph->get('oe_bt_n_columns')->isEmpty()) { - $variables['columns'] = $paragraph->get('oe_bt_n_columns')->value; + if (!$paragraph->get('oe_w_n_columns')->isEmpty()) { + $variables['columns'] = $paragraph->get('oe_w_n_columns')->value; } } diff --git a/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.post_update.php b/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.post_update.php index b358b83b3c9f76e5814442e8ed68c986bccd2033..142f335da8cf879a4ba567706b3ddb2e8e4f1279 100644 --- a/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.post_update.php +++ b/modules/oe_whitelabel_paragraphs/oe_whitelabel_paragraphs.post_update.php @@ -16,8 +16,8 @@ function oe_whitelabel_paragraphs_post_update_00001(array &$sandbox): void { \Drupal::service('module_installer')->install(['oe_paragraphs_description_list']); $configs = [ - 'field.storage.paragraph.oe_bt_orientation', - 'field.field.paragraph.oe_description_list.oe_bt_orientation', + 'field.storage.paragraph.oe_w_orientation', + 'field.field.paragraph.oe_description_list.oe_w_orientation', 'core.entity_form_display.paragraph.oe_description_list.default', 'core.entity_view_display.paragraph.oe_description_list.default', ]; @@ -42,8 +42,8 @@ function oe_whitelabel_paragraphs_post_update_00002(array &$sandbox): void { */ function oe_whitelabel_paragraphs_post_update_00003(array &$sandbox): void { $configs = [ - 'field.storage.paragraph.oe_bt_n_columns', - 'field.field.paragraph.oe_facts_figures.oe_bt_n_columns', + 'field.storage.paragraph.oe_w_n_columns', + 'field.field.paragraph.oe_facts_figures.oe_w_n_columns', 'core.entity_form_display.paragraph.oe_facts_figures.default', 'core.entity_view_display.paragraph.oe_facts_figures.default', ]; diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Functional/ParagraphsTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Functional/ParagraphsTest.php index e8ec1ef86180c0ad2251a26d33201705c6336010..879560768c13361acddd02af035af3ca2e52af2f 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Functional/ParagraphsTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Functional/ParagraphsTest.php @@ -44,23 +44,23 @@ class ParagraphsTest extends BrowserTestBase { $this->getSession()->getPage()->pressButton('Add Links block'); // Assert the Links Block fields appears. - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_links][0][uri]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_links][0][title]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_text][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][oe_bt_links_block_background]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][oe_bt_links_block_orientation]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_links][0][uri]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_links][0][title]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_text][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][oe_w_links_block_background]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][oe_w_links_block_orientation]'); $this->submitForm([], 'Add another item'); $values = [ 'title[0][value]' => 'Test Links block node title', - 'oe_bt_paragraphs[0][subform][field_oe_text][0][value]' => 'EU Links', - 'oe_bt_paragraphs[0][subform][field_oe_links][0][uri]' => 'https://www.example.com', - 'oe_bt_paragraphs[0][subform][field_oe_links][0][title]' => 'Example link number 1', - 'oe_bt_paragraphs[0][subform][field_oe_links][1][uri]' => 'https://www.more-example.com', - 'oe_bt_paragraphs[0][subform][field_oe_links][1][title]' => 'Example link number 2', - 'oe_bt_paragraphs[0][subform][oe_bt_links_block_background]' => 'gray', - 'oe_bt_paragraphs[0][subform][oe_bt_links_block_orientation]' => 'vertical', + 'oe_w_paragraphs[0][subform][field_oe_text][0][value]' => 'EU Links', + 'oe_w_paragraphs[0][subform][field_oe_links][0][uri]' => 'https://www.example.com', + 'oe_w_paragraphs[0][subform][field_oe_links][0][title]' => 'Example link number 1', + 'oe_w_paragraphs[0][subform][field_oe_links][1][uri]' => 'https://www.more-example.com', + 'oe_w_paragraphs[0][subform][field_oe_links][1][title]' => 'Example link number 2', + 'oe_w_paragraphs[0][subform][oe_w_links_block_background]' => 'gray', + 'oe_w_paragraphs[0][subform][oe_w_links_block_orientation]' => 'vertical', ]; $this->submitForm($values, 'Save'); @@ -80,27 +80,27 @@ class ParagraphsTest extends BrowserTestBase { $this->getSession()->getPage()->pressButton('Add Social media follow'); // Assert the Social Media Follow fields appears. - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_social_media_links][0][uri]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_social_media_links][0][title]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_social_media_links][0][link_type]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_title][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][oe_bt_links_block_background]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_social_media_variant]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_social_media_see_more][0][uri]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_social_media_see_more][0][title]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_social_media_links][0][uri]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_social_media_links][0][title]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_social_media_links][0][link_type]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_title][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][oe_w_links_block_background]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_social_media_variant]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_social_media_see_more][0][uri]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_social_media_see_more][0][title]'); $this->submitForm([], 'Add another item'); $values = [ 'title[0][value]' => 'Test Social Media follow Links node title', - 'oe_bt_paragraphs[0][subform][field_oe_title][0][value]' => 'EU Social Media Follow Links', - 'oe_bt_paragraphs[0][subform][field_oe_social_media_links][0][uri]' => 'https://www.facebook.com', - 'oe_bt_paragraphs[0][subform][field_oe_social_media_links][0][title]' => 'Example Facebook', - 'oe_bt_paragraphs[0][subform][field_oe_social_media_links][0][link_type]' => 'facebook', - 'oe_bt_paragraphs[0][subform][oe_bt_links_block_background]' => 'transparent', - 'oe_bt_paragraphs[0][subform][field_oe_social_media_variant]' => 'horizontal', - 'oe_bt_paragraphs[0][subform][field_oe_social_media_see_more][0][uri]' => 'https://example.com', - 'oe_bt_paragraphs[0][subform][field_oe_social_media_see_more][0][title]' => 'More channels', + 'oe_w_paragraphs[0][subform][field_oe_title][0][value]' => 'EU Social Media Follow Links', + 'oe_w_paragraphs[0][subform][field_oe_social_media_links][0][uri]' => 'https://www.facebook.com', + 'oe_w_paragraphs[0][subform][field_oe_social_media_links][0][title]' => 'Example Facebook', + 'oe_w_paragraphs[0][subform][field_oe_social_media_links][0][link_type]' => 'facebook', + 'oe_w_paragraphs[0][subform][oe_w_links_block_background]' => 'transparent', + 'oe_w_paragraphs[0][subform][field_oe_social_media_variant]' => 'horizontal', + 'oe_w_paragraphs[0][subform][field_oe_social_media_see_more][0][uri]' => 'https://example.com', + 'oe_w_paragraphs[0][subform][field_oe_social_media_see_more][0][title]' => 'More channels', ]; $this->submitForm($values, 'Save'); @@ -120,15 +120,15 @@ class ParagraphsTest extends BrowserTestBase { $page = $this->getSession()->getPage(); $page->pressButton('Add Accordion'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]'); // Assert the Icon field is not shown. - $this->assertSession()->fieldNotExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_icon][0][value]'); + $this->assertSession()->fieldNotExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_icon][0][value]'); $values = [ 'title[0][value]' => 'Test Accordion', - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text][0][value]' => 'Title item 1', - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text][0][value]' => 'Title item 1', + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', ]; $this->submitForm($values, 'Save'); @@ -147,23 +147,23 @@ class ParagraphsTest extends BrowserTestBase { $page = $this->getSession()->getPage(); $page->pressButton('Add Facts and figures'); // Assert the Facts and figures fields are present. - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_link][0][uri]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_link][0][title]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_title][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][oe_bt_n_columns][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_subtitle][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_plain_text_long][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_link][0][uri]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_link][0][title]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_title][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][oe_w_n_columns][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_subtitle][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_plain_text_long][0][value]'); $values = [ 'title[0][value]' => 'Test Fact and figures node title', - 'oe_bt_paragraphs[0][subform][field_oe_title][0][value]' => 'Fact and figures block', - 'oe_bt_paragraphs[0][subform][field_oe_link][0][uri]' => 'https://www.google.com', - 'oe_bt_paragraphs[0][subform][field_oe_link][0][title]' => 'Read more', - 'oe_bt_paragraphs[0][subform][oe_bt_n_columns][0][value]' => 2, - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]' => "1529 JIRA Ticket", - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_subtitle][0][value]' => "Jira Tickets", - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_plain_text_long][0][value]' => "Nunc condimentum sapien ut nibh finibus suscipit vitae at justo. Morbi quis odio faucibus, commodo tortor id, elementum libero.", + 'oe_w_paragraphs[0][subform][field_oe_title][0][value]' => 'Fact and figures block', + 'oe_w_paragraphs[0][subform][field_oe_link][0][uri]' => 'https://www.google.com', + 'oe_w_paragraphs[0][subform][field_oe_link][0][title]' => 'Read more', + 'oe_w_paragraphs[0][subform][oe_w_n_columns][0][value]' => 2, + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]' => "1529 JIRA Ticket", + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_subtitle][0][value]' => "Jira Tickets", + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_plain_text_long][0][value]' => "Nunc condimentum sapien ut nibh finibus suscipit vitae at justo. Morbi quis odio faucibus, commodo tortor id, elementum libero.", ]; $this->submitForm($values, 'Save'); @@ -185,7 +185,7 @@ class ParagraphsTest extends BrowserTestBase { $page = $this->getSession()->getPage(); $page->pressButton('Add Fact'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_icon]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_icon]'); $allowed_values = [ '_none', 'arrow-down', @@ -211,7 +211,7 @@ class ParagraphsTest extends BrowserTestBase { foreach ($allowed_values as $allowed_value) { $this->assertSession()->elementsCount('css', 'option[value="' . $allowed_value . '"]', 1); } - $this->assertSession()->elementsCount('css', 'select#edit-oe-bt-paragraphs-0-subform-field-oe-icon option', 20); + $this->assertSession()->elementsCount('css', 'select#edit-oe-w-paragraphs-0-subform-field-oe-icon option', 20); } @@ -223,20 +223,20 @@ class ParagraphsTest extends BrowserTestBase { $this->getSession()->getPage()->pressButton('Add Description list'); $assert_session = $this->assertSession(); - $assert_session->fieldExists('oe_bt_paragraphs[0][subform][field_oe_title][0][value]'); + $assert_session->fieldExists('oe_w_paragraphs[0][subform][field_oe_title][0][value]'); $this->assertEquals([ 'horizontal' => 'Horizontal', 'vertical' => 'Vertical', - ], $this->getOptions('oe_bt_paragraphs[0][subform][oe_bt_orientation]')); - $assert_session->fieldExists('oe_bt_paragraphs[0][subform][field_oe_description_list_items][0][term]'); - $assert_session->fieldExists('oe_bt_paragraphs[0][subform][field_oe_description_list_items][0][description][value]'); + ], $this->getOptions('oe_w_paragraphs[0][subform][oe_w_orientation]')); + $assert_session->fieldExists('oe_w_paragraphs[0][subform][field_oe_description_list_items][0][term]'); + $assert_session->fieldExists('oe_w_paragraphs[0][subform][field_oe_description_list_items][0][description][value]'); $values = [ 'title[0][value]' => 'Test Description list node title', - 'oe_bt_paragraphs[0][subform][field_oe_title][0][value]' => 'Description list paragraph', - 'oe_bt_paragraphs[0][subform][oe_bt_orientation]' => 'horizontal', - 'oe_bt_paragraphs[0][subform][field_oe_description_list_items][0][term]' => 'Aliquam ultricies', - 'oe_bt_paragraphs[0][subform][field_oe_description_list_items][0][description][value]' => 'Donec et leo ac velit posuere tempor mattis ac mi. Vivamus nec dictum lectus. Aliquam ultricies placerat eros, vitae ornare sem.', + 'oe_w_paragraphs[0][subform][field_oe_title][0][value]' => 'Description list paragraph', + 'oe_w_paragraphs[0][subform][oe_w_orientation]' => 'horizontal', + 'oe_w_paragraphs[0][subform][field_oe_description_list_items][0][term]' => 'Aliquam ultricies', + 'oe_w_paragraphs[0][subform][field_oe_description_list_items][0][description][value]' => 'Donec et leo ac velit posuere tempor mattis ac mi. Vivamus nec dictum lectus. Aliquam ultricies placerat eros, vitae ornare sem.', ]; $this->submitForm($values, 'Save'); @@ -257,26 +257,26 @@ class ParagraphsTest extends BrowserTestBase { $page->pressButton('Add Listing item block'); // Assert the Listing fields appears. - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][variant]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_title][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_list_item_block_layout]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_link][0][uri]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]'); - $this->assertSession()->fieldExists('oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_meta][0][value]'); - $this->assertSession()->fieldExists('files[oe_bt_paragraphs_0_subform_field_oe_paragraphs_0_subform_field_oe_image_0]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][variant]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_title][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_list_item_block_layout]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_link][0][uri]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]'); + $this->assertSession()->fieldExists('oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_meta][0][value]'); + $this->assertSession()->fieldExists('files[oe_w_paragraphs_0_subform_field_oe_paragraphs_0_subform_field_oe_image_0]'); $this->submitForm([], 'Add another item'); $values = [ 'title[0][value]' => 'Listing node title', - 'oe_bt_paragraphs[0][variant]' => 'default', - 'oe_bt_paragraphs[0][subform][field_oe_title][0][value]' => 'Listing example', - 'oe_bt_paragraphs[0][subform][field_oe_list_item_block_layout]' => 'two_columns', - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_link][0][uri]' => 'https://www.example.com', - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]' => 'Card title', - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]' => 'Lorem Ipsum dolor sit amet.', - 'oe_bt_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_meta][0][value]' => 'label1', + 'oe_w_paragraphs[0][variant]' => 'default', + 'oe_w_paragraphs[0][subform][field_oe_title][0][value]' => 'Listing example', + 'oe_w_paragraphs[0][subform][field_oe_list_item_block_layout]' => 'two_columns', + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_link][0][uri]' => 'https://www.example.com', + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_title][0][value]' => 'Card title', + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_text_long][0][value]' => 'Lorem Ipsum dolor sit amet.', + 'oe_w_paragraphs[0][subform][field_oe_paragraphs][0][subform][field_oe_meta][0][value]' => 'label1', ]; $this->submitForm($values, 'Save'); @@ -300,7 +300,7 @@ class ParagraphsTest extends BrowserTestBase { // Add a paragraphs field. $field_storage = FieldStorageConfig::create([ - 'field_name' => 'oe_bt_paragraphs', + 'field_name' => 'oe_w_paragraphs', 'entity_type' => 'node', 'type' => 'entity_reference_revisions', 'cardinality' => '-1', @@ -319,11 +319,11 @@ class ParagraphsTest extends BrowserTestBase { ])->save(); $form_display = \Drupal::service('entity_display.repository')->getFormDisplay('node', 'paragraphs_test'); - $form_display = $form_display->setComponent('oe_bt_paragraphs', ['type' => 'oe_paragraphs_variants']); + $form_display = $form_display->setComponent('oe_w_paragraphs', ['type' => 'oe_paragraphs_variants']); $form_display->save(); $view_display = \Drupal::service('entity_display.repository')->getViewDisplay('node', 'paragraphs_test'); - $view_display->setComponent('oe_bt_paragraphs', ['type' => 'entity_reference_revisions_entity_view']); + $view_display->setComponent('oe_w_paragraphs', ['type' => 'entity_reference_revisions_entity_view']); $view_display->save(); } diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/ContentRowTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/ContentRowTest.php index e58f4bf2201ff1653412d3335d09bc33db3d306b..bbd451ed3a54f536926ac0a4379219d92ccc3eda 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/ContentRowTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/ContentRowTest.php @@ -70,8 +70,8 @@ class ContentRowTest extends ParagraphsTestBase { Paragraph::create([ 'type' => 'oe_links_block', 'field_oe_text' => 'Links block test', - 'oe_bt_links_block_orientation' => 'vertical', - 'oe_bt_links_block_background' => 'gray', + 'oe_w_links_block_orientation' => 'vertical', + 'oe_w_links_block_background' => 'gray', 'field_oe_links' => [ [ 'title' => 'Example 2', @@ -106,7 +106,7 @@ class ContentRowTest extends ParagraphsTestBase { 'type' => 'oe_social_media_follow', 'field_oe_title' => 'Social media block', 'field_oe_social_media_variant' => 'horizontal', - 'oe_bt_links_block_background' => 'gray', + 'oe_w_links_block_background' => 'gray', 'field_oe_social_media_links' => [ [ 'title' => 'Email', diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/DescriptionListTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/DescriptionListTest.php index 2e7132df59fb26781772b4c90ab8437b884b5be9..d96781b19d9c9b1c5cdcadc5b9fcdf5859b1c1dd 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/DescriptionListTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/DescriptionListTest.php @@ -20,7 +20,7 @@ class DescriptionListTest extends ParagraphsTestBase { $paragraph = Paragraph::create([ 'type' => 'oe_description_list', 'field_oe_title' => 'Description list paragraph', - 'oe_bt_orientation' => 'horizontal', + 'oe_w_orientation' => 'horizontal', 'field_oe_description_list_items' => [ 0 => [ 'term' => 'Aliquam ultricies', @@ -63,7 +63,7 @@ class DescriptionListTest extends ParagraphsTestBase { ); // Testing: Description list paragraph with vertical variant. - $paragraph->get('oe_bt_orientation')->setValue('vertical'); + $paragraph->get('oe_w_orientation')->setValue('vertical'); $paragraph->save(); $html = $this->renderParagraph($paragraph); diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/EntityReferenceRevisionTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/EntityReferenceRevisionTest.php index 5bc9cb59885c88c4da614cb31df8b2c89acd3d56..9f7e0668028a098635fd4aaa57ab13bc53a197a1 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/EntityReferenceRevisionTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/EntityReferenceRevisionTest.php @@ -65,8 +65,8 @@ class EntityReferenceRevisionTest extends ParagraphsTestBase { $paragraph1 = Paragraph::create([ 'type' => 'oe_links_block', 'field_oe_text' => 'More information', - 'oe_bt_links_block_orientation' => 'vertical', - 'oe_bt_links_block_background' => 'gray', + 'oe_w_links_block_orientation' => 'vertical', + 'oe_w_links_block_background' => 'gray', 'field_oe_links' => [ [ 'title' => 'European Commission', diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/FactsFiguresTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/FactsFiguresTest.php index b5a9267fd9e2700d60e56205a33a54b33d23e020..23633bad9dd45c4a7f2d8ad93965115ad1cb1021 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/FactsFiguresTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/FactsFiguresTest.php @@ -70,7 +70,7 @@ class FactsFiguresTest extends ParagraphsTestBase { 'uri' => 'https://www.readmore.com', 'title' => 'Read more', ], - 'oe_bt_n_columns' => 3, + 'oe_w_n_columns' => 3, 'field_oe_paragraphs' => $paragraph_fact, ]); $paragraph->save(); @@ -190,7 +190,7 @@ class FactsFiguresTest extends ParagraphsTestBase { ); // Testing: 2 columns. - $paragraph->get('oe_bt_n_columns')->setValue('2'); + $paragraph->get('oe_w_n_columns')->setValue('2'); $paragraph->save(); $html = $this->renderParagraph($paragraph); @@ -199,7 +199,7 @@ class FactsFiguresTest extends ParagraphsTestBase { $this->assertCount(1, $crawler->filter('div.row-cols-md-2.row')); // Testing: 1 columns. - $paragraph->get('oe_bt_n_columns')->setValue('1'); + $paragraph->get('oe_w_n_columns')->setValue('1'); $paragraph->save(); $html = $this->renderParagraph($paragraph); diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/LinksBlockTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/LinksBlockTest.php index 67b8c411b6a3c2c06e2fb5a35af250f264636085..e3cf89e73b72fe0ef1446ef1397b2a8501dc4742 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/LinksBlockTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/LinksBlockTest.php @@ -21,8 +21,8 @@ class LinksBlockTest extends LinksBlockAssertion { $paragraph = Paragraph::create([ 'type' => 'oe_links_block', 'field_oe_text' => 'More information', - 'oe_bt_links_block_orientation' => 'vertical', - 'oe_bt_links_block_background' => 'gray', + 'oe_w_links_block_orientation' => 'vertical', + 'oe_w_links_block_background' => 'gray', 'field_oe_links' => $this->getBlockLinks(), ]); $paragraph->save(); @@ -36,7 +36,7 @@ class LinksBlockTest extends LinksBlockAssertion { $this->assertVerticalLinks($crawler); // Testing: LinksBlock horizontal gray. - $paragraph->get('oe_bt_links_block_orientation')->setValue('horizontal'); + $paragraph->get('oe_w_links_block_orientation')->setValue('horizontal'); $paragraph->save(); $html = $this->renderParagraph($paragraph); @@ -47,8 +47,8 @@ class LinksBlockTest extends LinksBlockAssertion { $this->assertHorizontalLinks($crawler, FALSE); // Testing: LinksBlock vertical transparent. - $paragraph->get('oe_bt_links_block_orientation')->setValue('vertical'); - $paragraph->get('oe_bt_links_block_background')->setValue('transparent'); + $paragraph->get('oe_w_links_block_orientation')->setValue('vertical'); + $paragraph->get('oe_w_links_block_background')->setValue('transparent'); $paragraph->save(); $html = $this->renderParagraph($paragraph); @@ -59,7 +59,7 @@ class LinksBlockTest extends LinksBlockAssertion { $this->assertVerticalLinks($crawler); // Testing: LinksBlock horizontal transparent. - $paragraph->get('oe_bt_links_block_orientation')->setValue('horizontal'); + $paragraph->get('oe_w_links_block_orientation')->setValue('horizontal'); $paragraph->save(); $html = $this->renderParagraph($paragraph); diff --git a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/SocialMediaFollowTest.php b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/SocialMediaFollowTest.php index dc38c36e7e08a6445881f46f84e1dffa6f09ad4a..6834eafb575e70df09eec32c641f8dbe66977b6c 100644 --- a/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/SocialMediaFollowTest.php +++ b/modules/oe_whitelabel_paragraphs/tests/src/Kernel/Paragraphs/SocialMediaFollowTest.php @@ -22,7 +22,7 @@ class SocialMediaFollowTest extends LinksBlockAssertion { 'type' => 'oe_social_media_follow', 'field_oe_title' => 'Social media title', 'field_oe_social_media_variant' => 'horizontal', - 'oe_bt_links_block_background' => 'gray', + 'oe_w_links_block_background' => 'gray', 'field_oe_social_media_links' => $this->getSocialMediaLinks(), 'field_oe_social_media_see_more' => [ 'title' => 'Other social networks', @@ -58,7 +58,7 @@ class SocialMediaFollowTest extends LinksBlockAssertion { // Testing: SocialMediaFollow horizontal transparent. $paragraph->get('field_oe_social_media_variant')->setValue('horizontal'); - $paragraph->get('oe_bt_links_block_background')->setValue('transparent'); + $paragraph->get('oe_w_links_block_background')->setValue('transparent'); $paragraph->save(); $html = $this->renderParagraph($paragraph); @@ -73,7 +73,7 @@ class SocialMediaFollowTest extends LinksBlockAssertion { // Testing: SocialMediaFollow vertical transparent. $paragraph->get('field_oe_social_media_variant')->setValue('vertical'); - $paragraph->get('oe_bt_links_block_background')->setValue('transparent'); + $paragraph->get('oe_w_links_block_background')->setValue('transparent'); $paragraph->save(); $html = $this->renderParagraph($paragraph);