From a492a40573b74ea5ff21ba89acb8613e818de0b5 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:07:52 -0600 Subject: [PATCH] VACMS-19794: Removes Connect with us tech debt (#20303) * VACMS-19974: Adds help text to general field * VACMS-19794: Updates config and twig for removed connect with us --- ...lay.node.campaign_landing_page.default.yml | 2 - ...form_display.node.landing_page.default.yml | 2 - ...ntity_form_display.node.office.default.yml | 11 +- ...lay.node.campaign_landing_page.default.yml | 2 - ...play.node.campaign_landing_page.teaser.yml | 2 - ...view_display.node.landing_page.default.yml | 2 - ....landing_page.support_services_listing.yml | 2 - ..._view_display.node.landing_page.teaser.yml | 2 - ...ew_display.node.office.connect_with_us.yml | 70 ------ ...ntity_view_display.node.office.default.yml | 7 - ...entity_view_display.node.office.teaser.yml | 6 - ....entity_view_mode.node.connect_with_us.yml | 11 - ...aign_landing_page.field_related_office.yml | 32 --- ...node.landing_page.field_related_office.yml | 32 --- ...d.node.office.field_email_updates_link.yml | 23 -- ....field.node.office.field_external_link.yml | 23 -- ...d.node.office.field_social_media_links.yml | 171 -------------- ....storage.node.field_email_updates_link.yml | 19 -- ...field.storage.node.field_external_link.yml | 19 -- ...ield.storage.node.field_related_office.yml | 19 -- ....storage.node.field_social_media_links.yml | 19 -- ...s.view.content_entity_reference_source.yml | 211 ------------------ .../node--office--connect-with-us.html.twig | 97 -------- 23 files changed, 5 insertions(+), 779 deletions(-) delete mode 100644 config/sync/core.entity_view_display.node.office.connect_with_us.yml delete mode 100644 config/sync/core.entity_view_mode.node.connect_with_us.yml delete mode 100644 config/sync/field.field.node.campaign_landing_page.field_related_office.yml delete mode 100644 config/sync/field.field.node.landing_page.field_related_office.yml delete mode 100644 config/sync/field.field.node.office.field_email_updates_link.yml delete mode 100644 config/sync/field.field.node.office.field_external_link.yml delete mode 100644 config/sync/field.field.node.office.field_social_media_links.yml delete mode 100644 config/sync/field.storage.node.field_email_updates_link.yml delete mode 100644 config/sync/field.storage.node.field_external_link.yml delete mode 100644 config/sync/field.storage.node.field_related_office.yml delete mode 100644 config/sync/field.storage.node.field_social_media_links.yml delete mode 100644 docroot/themes/custom/vagovclaro/templates/node/node--office--connect-with-us.html.twig diff --git a/config/sync/core.entity_form_display.node.campaign_landing_page.default.yml b/config/sync/core.entity_form_display.node.campaign_landing_page.default.yml index f81c6960b7..f2baefb38b 100644 --- a/config/sync/core.entity_form_display.node.campaign_landing_page.default.yml +++ b/config/sync/core.entity_form_display.node.campaign_landing_page.default.yml @@ -43,7 +43,6 @@ dependencies: - field.field.node.campaign_landing_page.field_last_saved_by_an_editor - field.field.node.campaign_landing_page.field_media - field.field.node.campaign_landing_page.field_primary_call_to_action - - field.field.node.campaign_landing_page.field_related_office - field.field.node.campaign_landing_page.field_secondary_call_to_action - node.type.campaign_landing_page - workflows.workflow.editorial @@ -892,7 +891,6 @@ content: third_party_settings: { } hidden: created: true - field_related_office: true langcode: true promote: true sticky: true diff --git a/config/sync/core.entity_form_display.node.landing_page.default.yml b/config/sync/core.entity_form_display.node.landing_page.default.yml index 00a4b34063..b3195beff9 100644 --- a/config/sync/core.entity_form_display.node.landing_page.default.yml +++ b/config/sync/core.entity_form_display.node.landing_page.default.yml @@ -17,7 +17,6 @@ dependencies: - field.field.node.landing_page.field_plainlanguage_date - field.field.node.landing_page.field_promo - field.field.node.landing_page.field_related_links - - field.field.node.landing_page.field_related_office - field.field.node.landing_page.field_spokes - field.field.node.landing_page.field_support_services - field.field.node.landing_page.field_teaser_text @@ -346,7 +345,6 @@ hidden: created: true field_meta_tags: true field_plainlanguage_date: true - field_related_office: true langcode: true promote: true status: true diff --git a/config/sync/core.entity_form_display.node.office.default.yml b/config/sync/core.entity_form_display.node.office.default.yml index c7a650f6fe..8a366dc84e 100644 --- a/config/sync/core.entity_form_display.node.office.default.yml +++ b/config/sync/core.entity_form_display.node.office.default.yml @@ -6,13 +6,10 @@ dependencies: - field.field.node.office.field_administration - field.field.node.office.field_body - field.field.node.office.field_description - - field.field.node.office.field_email_updates_link - - field.field.node.office.field_external_link - field.field.node.office.field_last_saved_by_an_editor - field.field.node.office.field_meta_tags - field.field.node.office.field_office_id - field.field.node.office.field_parent_office - - field.field.node.office.field_social_media_links - node.type.office - workflows.workflow.editorial module: @@ -168,6 +165,11 @@ content: size: 60 placeholder: '' third_party_settings: { } + translation: + weight: 10 + region: content + settings: { } + third_party_settings: { } url_redirects: weight: 6 region: content @@ -175,10 +177,7 @@ content: third_party_settings: { } hidden: created: true - field_email_updates_link: true - field_external_link: true field_meta_tags: true - field_social_media_links: true langcode: true promote: true status: true diff --git a/config/sync/core.entity_view_display.node.campaign_landing_page.default.yml b/config/sync/core.entity_view_display.node.campaign_landing_page.default.yml index c70a7b5543..e9be40dcea 100644 --- a/config/sync/core.entity_view_display.node.campaign_landing_page.default.yml +++ b/config/sync/core.entity_view_display.node.campaign_landing_page.default.yml @@ -41,7 +41,6 @@ dependencies: - field.field.node.campaign_landing_page.field_last_saved_by_an_editor - field.field.node.campaign_landing_page.field_media - field.field.node.campaign_landing_page.field_primary_call_to_action - - field.field.node.campaign_landing_page.field_related_office - field.field.node.campaign_landing_page.field_secondary_call_to_action - image.style.7_2_medium_thumbnail - node.type.campaign_landing_page @@ -506,7 +505,6 @@ hidden: field_clp_stories_panel: true field_clp_video_panel: true field_last_saved_by_an_editor: true - field_related_office: true langcode: true links: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.campaign_landing_page.teaser.yml b/config/sync/core.entity_view_display.node.campaign_landing_page.teaser.yml index ac5943fec6..07fb8d0df9 100644 --- a/config/sync/core.entity_view_display.node.campaign_landing_page.teaser.yml +++ b/config/sync/core.entity_view_display.node.campaign_landing_page.teaser.yml @@ -42,7 +42,6 @@ dependencies: - field.field.node.campaign_landing_page.field_last_saved_by_an_editor - field.field.node.campaign_landing_page.field_media - field.field.node.campaign_landing_page.field_primary_call_to_action - - field.field.node.campaign_landing_page.field_related_office - field.field.node.campaign_landing_page.field_secondary_call_to_action - node.type.campaign_landing_page module: @@ -102,7 +101,6 @@ hidden: field_last_saved_by_an_editor: true field_media: true field_primary_call_to_action: true - field_related_office: true field_secondary_call_to_action: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.landing_page.default.yml b/config/sync/core.entity_view_display.node.landing_page.default.yml index e1e8b48025..cd37c0b69f 100644 --- a/config/sync/core.entity_view_display.node.landing_page.default.yml +++ b/config/sync/core.entity_view_display.node.landing_page.default.yml @@ -15,7 +15,6 @@ dependencies: - field.field.node.landing_page.field_plainlanguage_date - field.field.node.landing_page.field_promo - field.field.node.landing_page.field_related_links - - field.field.node.landing_page.field_related_office - field.field.node.landing_page.field_spokes - field.field.node.landing_page.field_support_services - field.field.node.landing_page.field_teaser_text @@ -224,7 +223,6 @@ hidden: field_last_saved_by_an_editor: true field_meta_tags: true field_plainlanguage_date: true - field_related_office: true langcode: true links: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.landing_page.support_services_listing.yml b/config/sync/core.entity_view_display.node.landing_page.support_services_listing.yml index 23e62b6811..6ec3165a91 100644 --- a/config/sync/core.entity_view_display.node.landing_page.support_services_listing.yml +++ b/config/sync/core.entity_view_display.node.landing_page.support_services_listing.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.landing_page.field_plainlanguage_date - field.field.node.landing_page.field_promo - field.field.node.landing_page.field_related_links - - field.field.node.landing_page.field_related_office - field.field.node.landing_page.field_spokes - field.field.node.landing_page.field_support_services - field.field.node.landing_page.field_teaser_text @@ -112,7 +111,6 @@ hidden: field_plainlanguage_date: true field_promo: true field_related_links: true - field_related_office: true field_spokes: true field_teaser_text: true field_title_icon: true diff --git a/config/sync/core.entity_view_display.node.landing_page.teaser.yml b/config/sync/core.entity_view_display.node.landing_page.teaser.yml index 91de8bcb92..a1816c6746 100644 --- a/config/sync/core.entity_view_display.node.landing_page.teaser.yml +++ b/config/sync/core.entity_view_display.node.landing_page.teaser.yml @@ -16,7 +16,6 @@ dependencies: - field.field.node.landing_page.field_plainlanguage_date - field.field.node.landing_page.field_promo - field.field.node.landing_page.field_related_links - - field.field.node.landing_page.field_related_office - field.field.node.landing_page.field_spokes - field.field.node.landing_page.field_support_services - field.field.node.landing_page.field_teaser_text @@ -69,7 +68,6 @@ hidden: field_plainlanguage_date: true field_promo: true field_related_links: true - field_related_office: true field_spokes: true field_support_services: true field_title_icon: true diff --git a/config/sync/core.entity_view_display.node.office.connect_with_us.yml b/config/sync/core.entity_view_display.node.office.connect_with_us.yml deleted file mode 100644 index ceba84a6ce..0000000000 --- a/config/sync/core.entity_view_display.node.office.connect_with_us.yml +++ /dev/null @@ -1,70 +0,0 @@ -uuid: f3b691b1-f070-4bcb-b076-b9b05d6eacd2 -langcode: en -status: true -dependencies: - config: - - core.entity_view_mode.node.connect_with_us - - field.field.node.office.field_administration - - field.field.node.office.field_body - - field.field.node.office.field_description - - field.field.node.office.field_email_updates_link - - field.field.node.office.field_external_link - - field.field.node.office.field_last_saved_by_an_editor - - field.field.node.office.field_meta_tags - - field.field.node.office.field_office_id - - field.field.node.office.field_parent_office - - field.field.node.office.field_social_media_links - - node.type.office - module: - - field_group - - layout_builder - - user -third_party_settings: - field_group: - group_meta: - children: - - field_meta_tags - - field_meta_title - label: 'Meta tags' - parent_name: '' - region: hidden - weight: 14 - format_type: fieldset - format_settings: - classes: '' - id: '' - description: '' - layout_builder: - enabled: false - allow_custom: false -id: node.office.connect_with_us -targetEntityType: node -bundle: office -mode: connect_with_us -content: - flag_email_node: - settings: { } - third_party_settings: { } - weight: 10 - region: content - flag_subscribe_node: - settings: { } - third_party_settings: { } - weight: 10 - region: content -hidden: - breadcrumbs: true - content_moderation_control: true - field_administration: true - field_body: true - field_description: true - field_email_updates_link: true - field_external_link: true - field_last_saved_by_an_editor: true - field_meta_tags: true - field_office_id: true - field_parent_office: true - field_social_media_links: true - langcode: true - links: true - search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.office.default.yml b/config/sync/core.entity_view_display.node.office.default.yml index faa1588219..9fb0e31915 100644 --- a/config/sync/core.entity_view_display.node.office.default.yml +++ b/config/sync/core.entity_view_display.node.office.default.yml @@ -6,13 +6,10 @@ dependencies: - field.field.node.office.field_administration - field.field.node.office.field_body - field.field.node.office.field_description - - field.field.node.office.field_email_updates_link - - field.field.node.office.field_external_link - field.field.node.office.field_last_saved_by_an_editor - field.field.node.office.field_meta_tags - field.field.node.office.field_office_id - field.field.node.office.field_parent_office - - field.field.node.office.field_social_media_links - node.type.office module: - field_group @@ -22,7 +19,6 @@ third_party_settings: field_group: group_meta: children: - - field_meta_title - field_meta_tags label: 'Meta tags' parent_name: '' @@ -84,10 +80,7 @@ hidden: content_moderation_control: true field_administration: true field_body: true - field_email_updates_link: true - field_external_link: true field_last_saved_by_an_editor: true - field_social_media_links: true langcode: true links: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.office.teaser.yml b/config/sync/core.entity_view_display.node.office.teaser.yml index 9a13059e5a..2c97d9f885 100644 --- a/config/sync/core.entity_view_display.node.office.teaser.yml +++ b/config/sync/core.entity_view_display.node.office.teaser.yml @@ -7,13 +7,10 @@ dependencies: - field.field.node.office.field_administration - field.field.node.office.field_body - field.field.node.office.field_description - - field.field.node.office.field_email_updates_link - - field.field.node.office.field_external_link - field.field.node.office.field_last_saved_by_an_editor - field.field.node.office.field_meta_tags - field.field.node.office.field_office_id - field.field.node.office.field_parent_office - - field.field.node.office.field_social_media_links - node.type.office module: - user @@ -43,12 +40,9 @@ hidden: field_administration: true field_body: true field_description: true - field_email_updates_link: true - field_external_link: true field_last_saved_by_an_editor: true field_meta_tags: true field_office_id: true field_parent_office: true - field_social_media_links: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_mode.node.connect_with_us.yml b/config/sync/core.entity_view_mode.node.connect_with_us.yml deleted file mode 100644 index 270c03c706..0000000000 --- a/config/sync/core.entity_view_mode.node.connect_with_us.yml +++ /dev/null @@ -1,11 +0,0 @@ -uuid: 3775f15e-cd5c-41ac-af8d-babf0d5f13ad -langcode: en -status: true -dependencies: - module: - - node -id: node.connect_with_us -label: 'Connect with Us' -description: '' -targetEntityType: node -cache: true diff --git a/config/sync/field.field.node.campaign_landing_page.field_related_office.yml b/config/sync/field.field.node.campaign_landing_page.field_related_office.yml deleted file mode 100644 index ca88360c5e..0000000000 --- a/config/sync/field.field.node.campaign_landing_page.field_related_office.yml +++ /dev/null @@ -1,32 +0,0 @@ -uuid: 12e2495e-fc10-475c-a094-ada5be847203 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_related_office - - node.type.campaign_landing_page - module: - - entity_reference_validators -third_party_settings: - entity_reference_validators: - circular_reference: false - circular_reference_deep: false - duplicate_reference: false -id: node.campaign_landing_page.field_related_office -field_name: field_related_office -entity_type: node -bundle: campaign_landing_page -label: 'Add a "Connect with us" panel' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: views - handler_settings: - view: - view_name: content_entity_reference_source - display_name: entity_reference_7 - arguments: { } -field_type: entity_reference diff --git a/config/sync/field.field.node.landing_page.field_related_office.yml b/config/sync/field.field.node.landing_page.field_related_office.yml deleted file mode 100644 index fa041f0aaf..0000000000 --- a/config/sync/field.field.node.landing_page.field_related_office.yml +++ /dev/null @@ -1,32 +0,0 @@ -uuid: 8391b87b-9cd5-4d37-a3ec-556f33a98b1f -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_related_office - - node.type.landing_page - module: - - entity_reference_validators -third_party_settings: - entity_reference_validators: - circular_reference: false - circular_reference_deep: false - duplicate_reference: false -id: node.landing_page.field_related_office -field_name: field_related_office -entity_type: node -bundle: landing_page -label: 'Add a "Connect with us" block' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: - handler: views - handler_settings: - view: - view_name: content_entity_reference_source - display_name: entity_reference_7 - arguments: { } -field_type: entity_reference diff --git a/config/sync/field.field.node.office.field_email_updates_link.yml b/config/sync/field.field.node.office.field_email_updates_link.yml deleted file mode 100644 index 53fab6d3b1..0000000000 --- a/config/sync/field.field.node.office.field_email_updates_link.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: 71bc5e8e-2cc8-41e9-a4a1-4e229d12ea41 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_email_updates_link - - node.type.office - module: - - link -id: node.office.field_email_updates_link -field_name: field_email_updates_link -entity_type: node -bundle: office -label: 'Email updates link' -description: 'Your link should begin with "https://public.govdelivery.com/accounts/"... and your link text should be in the format of "{{ENTER YOUR OFFICE}} email updates".' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - title: 2 - link_type: 16 -field_type: link diff --git a/config/sync/field.field.node.office.field_external_link.yml b/config/sync/field.field.node.office.field_external_link.yml deleted file mode 100644 index 31dbb55a88..0000000000 --- a/config/sync/field.field.node.office.field_external_link.yml +++ /dev/null @@ -1,23 +0,0 @@ -uuid: 361f5e78-e037-4d76-a417-8ee386b302bc -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_external_link - - node.type.office - module: - - link -id: node.office.field_external_link -field_name: field_external_link -entity_type: node -bundle: office -label: 'External link' -description: 'Enter a link to the office homepage on legacy va.gov or another external site.' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: - title: 2 - link_type: 17 -field_type: link diff --git a/config/sync/field.field.node.office.field_social_media_links.yml b/config/sync/field.field.node.office.field_social_media_links.yml deleted file mode 100644 index 2f0d1b2f3c..0000000000 --- a/config/sync/field.field.node.office.field_social_media_links.yml +++ /dev/null @@ -1,171 +0,0 @@ -uuid: 1dd8d23f-ec01-4196-aac9-888096bd502b -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_social_media_links - - node.type.office - module: - - social_media_links_field -id: node.office.field_social_media_links -field_name: field_social_media_links -entity_type: node -bundle: office -label: 'Social media links' -description: '' -required: false -translatable: true -default_value: - - - platform: null - value: null - platform_values: - bitbucket: - value: '' - tumblr: - value: '' - googleplus: - value: '' - linkedin: - value: '' - rss: - value: '' - xing: - value: '' - vkontakte: - value: '' - contact: - value: '' - instagram: - value: '' - behance: - value: '' - github: - value: '' - youtube: - value: '' - pinterest: - value: '' - vimeo: - value: '' - facebook: - value: '' - drupal: - value: '' - email: - value: '' - twitter: - value: '' - website: - value: '' - gitlab: - value: '' - whatsapp: - value: '' - slideshare: - value: '' - youtube_channel: - value: '' - flickr: - value: '' -default_value_callback: '' -settings: - iconset: 'fontawesome:2x' - platforms: - bitbucket: - description: '' - weight: '-10' - enabled: 0 - pinterest: - description: '' - weight: '-9' - enabled: 0 - youtube_channel: - description: '' - weight: '-8' - enabled: 0 - slideshare: - description: '' - weight: '-7' - enabled: 0 - whatsapp: - description: '' - weight: '-6' - enabled: 0 - gitlab: - description: '' - weight: '-5' - enabled: 0 - website: - description: '' - weight: '-4' - enabled: 0 - twitter: - enabled: '1' - description: '' - weight: '-3' - email: - description: '' - weight: '-2' - enabled: 0 - drupal: - description: '' - weight: '-1' - enabled: 0 - facebook: - enabled: '1' - description: '' - weight: '0' - vimeo: - description: '' - weight: '1' - enabled: 0 - youtube: - enabled: '1' - description: '' - weight: '2' - tumblr: - description: '' - weight: '3' - enabled: 0 - github: - description: '' - weight: '4' - enabled: 0 - behance: - description: '' - weight: '5' - enabled: 0 - instagram: - enabled: '1' - description: '' - weight: '6' - contact: - description: '' - weight: '7' - enabled: 0 - vkontakte: - description: '' - weight: '8' - enabled: 0 - xing: - description: '' - weight: '9' - enabled: 0 - rss: - description: '' - weight: '10' - enabled: 0 - linkedin: - enabled: '1' - description: '' - weight: '11' - googleplus: - description: '' - weight: '12' - enabled: 0 - flickr: - description: '' - weight: '13' - enabled: 0 -field_type: social_media_links_field diff --git a/config/sync/field.storage.node.field_email_updates_link.yml b/config/sync/field.storage.node.field_email_updates_link.yml deleted file mode 100644 index 6a72174915..0000000000 --- a/config/sync/field.storage.node.field_email_updates_link.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: 81a8a283-7418-47fa-a7dd-1e34950969ad -langcode: en -status: true -dependencies: - module: - - link - - node -id: node.field_email_updates_link -field_name: field_email_updates_link -entity_type: node -type: link -settings: { } -module: link -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_external_link.yml b/config/sync/field.storage.node.field_external_link.yml deleted file mode 100644 index 4860e651aa..0000000000 --- a/config/sync/field.storage.node.field_external_link.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: fd60fda2-2f9a-401d-9ae1-5737489dc606 -langcode: en -status: true -dependencies: - module: - - link - - node -id: node.field_external_link -field_name: field_external_link -entity_type: node -type: link -settings: { } -module: link -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_related_office.yml b/config/sync/field.storage.node.field_related_office.yml deleted file mode 100644 index 411adc2a82..0000000000 --- a/config/sync/field.storage.node.field_related_office.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: dde4984e-2fe1-4cef-9402-b3d358d87c76 -langcode: en -status: true -dependencies: - module: - - node -id: node.field_related_office -field_name: field_related_office -entity_type: node -type: entity_reference -settings: - target_type: node -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.node.field_social_media_links.yml b/config/sync/field.storage.node.field_social_media_links.yml deleted file mode 100644 index 05b61fcdb6..0000000000 --- a/config/sync/field.storage.node.field_social_media_links.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: c0f7cf47-7979-461a-a2f2-2bd1f7d2b3e1 -langcode: en -status: true -dependencies: - module: - - node - - social_media_links_field -id: node.field_social_media_links -field_name: field_social_media_links -entity_type: node -type: social_media_links_field -settings: { } -module: social_media_links_field -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/views.view.content_entity_reference_source.yml b/config/sync/views.view.content_entity_reference_source.yml index 3e017c145f..53b38385ac 100644 --- a/config/sync/views.view.content_entity_reference_source.yml +++ b/config/sync/views.view.content_entity_reference_source.yml @@ -1189,214 +1189,3 @@ display: tags: - 'config:field.storage.node.field_administration' - 'config:workflow_list' - entity_reference_7: - id: entity_reference_7 - display_title: 'Entity Reference: Main Offices' - display_plugin: entity_reference - position: 2 - display_options: - fields: - title: - id: title - table: node_field_data - field: title - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: title - plugin_id: field - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - pager: - type: some - options: - offset: 0 - items_per_page: 0 - sorts: - title_1: - id: title_1 - table: node_field_data - field: title - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: title - plugin_id: standard - order: ASC - expose: - label: '' - field_identifier: title_1 - exposed: false - arguments: - nid: - id: nid - table: node_field_data - field: nid - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: nid - plugin_id: node_nid - default_action: default - exception: - value: all - title_enable: false - title: All - title_enable: false - title: '' - default_argument_type: fixed - default_argument_options: - argument: 38442+38441+38440+38439 - summary_options: - base_path: '' - count: true - override: false - items_per_page: 25 - summary: - sort_order: asc - number_of_records: 0 - format: default_summary - specify_validation: false - validate: - type: none - fail: 'not found' - validate_options: { } - break_phrase: true - not: false - filters: - type: - id: type - table: node_field_data - field: type - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: type - plugin_id: bundle - operator: in - value: - office: office - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - operator_limit_selection: false - operator_list: { } - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - reduce: false - argument: null - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - filter_groups: - operator: AND - groups: - 1: AND - style: - type: entity_reference - options: - search_fields: - title: title - row: - type: entity_reference - options: - default_field_elements: true - inline: - title_1: title_1 - title: title - separator: ': ' - hide_empty: false - defaults: - relationships: false - fields: false - sorts: false - arguments: false - filters: false - filter_groups: false - relationships: { } - display_description: '' - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - 'user.node_grants:view' - - user.permissions - tags: { } diff --git a/docroot/themes/custom/vagovclaro/templates/node/node--office--connect-with-us.html.twig b/docroot/themes/custom/vagovclaro/templates/node/node--office--connect-with-us.html.twig deleted file mode 100644 index 19fd5211db..0000000000 --- a/docroot/themes/custom/vagovclaro/templates/node/node--office--connect-with-us.html.twig +++ /dev/null @@ -1,97 +0,0 @@ -{# -/** - * @file - * Theme override to display a node. - * - * Available variables: - * - node: The node entity with limited access to object properties and methods. - * Only method names starting with "get", "has", or "is" and a few common - * methods such as "id", "label", and "bundle" are available. For example: - * - node.getCreatedTime() will return the node creation timestamp. - * - node.hasField('field_example') returns TRUE if the node bundle includes - * field_example. (This does not indicate the presence of a value in this - * field.) - * - node.isPublished() will return whether the node is published or not. - * Calling other methods, such as node.delete(), will result in an exception. - * See \Drupal\node\Entity\Node for a full list of public properties and - * methods for the node object. - * - label: (optional) The title of the node. - * - content: All node items. Use {{ content }} to print them all, - * or print a subset such as {{ content.field_example }}. Use - * {{ content|without('field_example') }} to temporarily suppress the printing - * of a given child element. - * - author_picture: The node author user entity, rendered using the "compact" - * view mode. - * - metadata: Metadata for this node. - * - date: (optional) Themed creation date field. - * - author_name: (optional) Themed author name field. - * - url: Direct URL of the current node. - * - display_submitted: Whether submission information should be displayed. - * - attributes: HTML attributes for the containing element. - * The attributes.class element may contain one or more of the following - * classes: - * - node: The current template type (also known as a "theming hook"). - * - node--type-[type]: The current node type. For example, if the node is an - * "Article" it would result in "node--type-article". Note that the machine - * name will often be in a short form of the human readable label. - * - node--view-mode-[view_mode]: The View Mode of the node; for example, a - * teaser would result in: "node--view-mode-teaser", and - * full: "node--view-mode-full". - * The following are controlled through the node publishing options. - * - node--promoted: Appears on nodes promoted to the front page. - * - node--sticky: Appears on nodes ordered above other non-sticky nodes in - * teaser listings. - * - node--unpublished: Appears on unpublished nodes visible only to site - * admins. - * NOTE: This is intentionally removed from this template so that - * the content that is visible on VA.gov whether it is published - * or not, does no confuse editors by appearing unpublished. - * - title_attributes: Same as attributes, except applied to the main title - * tag that appears in the template. - * - content_attributes: Same as attributes, except applied to the main - * content tag that appears in the template. - * - author_attributes: Same as attributes, except applied to the author of - * the node tag that appears in the template. - * - title_prefix: Additional output populated by modules, intended to be - * displayed in front of the main title tag that appears in the template. - * - title_suffix: Additional output populated by modules, intended to be - * displayed after the main title tag that appears in the template. - * - view_mode: View mode; for example, "teaser" or "full". - * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. - * - page: Flag for the full page state. Will be true if view_mode is 'full'. - * - readmore: Flag for more state. Will be true if the teaser content of the - * node cannot hold the main body content. - * - logged_in: Flag for authenticated user status. Will be true when the - * current user is a logged-in member. - * - is_admin: Flag for admin user status. Will be true when the current user - * is an administrator. - * - * @see template_preprocess_node() - * - * @todo Remove the id attribute (or make it a class), because if that gets - * rendered twice on a page this is invalid CSS for example: two lists - * in different view modes. - */ -#} -{% - set classes = [ - 'node', - 'node--type-' ~ node.bundle|clean_class, - node.isPromoted() ? 'node--promoted', - node.isSticky() ? 'node--sticky', - view_mode ? 'node--view-mode-' ~ view_mode|clean_class, - ] -%} -{{ attach_library('claro/classy.node') }} - -

Connect with us

- {{content.field_external_link}} - {% if node.field_email_updates_link.0.url %} -

Get updates

- {{content.field_email_updates_link}} - {% endif %} - {% if node.field_social_media_links.0 %} -

Follow us

- {{content.field_social_media_links}} - {% endif %} -