diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 5e33b7ecc3..b7547f2c22 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -34,6 +34,7 @@
/config/sync/*full_width_banner_alert* @department-of-veterans-affairs/facilities-cms
# To catch VAMC stuff with older naming convention
/config/sync/*health_care* @department-of-veterans-affairs/facilities-cms
+/config/sync/*connect_with_us* @department-of-veterans-affairs/public-websites-cms
/config/sync/*jsonapi* @department-of-veterans-affairs/accelerated-publishing
# aka VAMC System Locations List
/config/sync/*locations_listing* @department-of-veterans-affairs/facilities-cms
diff --git a/config/sync/block_content.type.connect_with_us.yml b/config/sync/block_content.type.connect_with_us.yml
new file mode 100644
index 0000000000..35af955217
--- /dev/null
+++ b/config/sync/block_content.type.connect_with_us.yml
@@ -0,0 +1,8 @@
+uuid: 1f2e0ca0-90ff-4283-81a0-0996f13d4ee0
+langcode: en
+status: true
+dependencies: { }
+id: connect_with_us
+label: 'Connect with us'
+revision: false
+description: 'Used on Benefit Hub Landing Pages & Campaign Landing Pages'
\ No newline at end of file
diff --git a/config/sync/core.base_field_override.block_content.connect_with_us.info.yml b/config/sync/core.base_field_override.block_content.connect_with_us.info.yml
new file mode 100644
index 0000000000..c6e4cec331
--- /dev/null
+++ b/config/sync/core.base_field_override.block_content.connect_with_us.info.yml
@@ -0,0 +1,18 @@
+uuid: 938de1c2-0a4e-4af4-94d8-a035aeee4755
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+id: block_content.connect_with_us.info
+field_name: info
+entity_type: block_content
+bundle: connect_with_us
+label: 'Block name'
+description: 'This is used for identifying the block within the CMS. The name will not be shown on VA.gov'
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/config/sync/core.entity_form_display.block_content.connect_with_us.default.yml b/config/sync/core.entity_form_display.block_content.connect_with_us.default.yml
new file mode 100644
index 0000000000..874e2ba83f
--- /dev/null
+++ b/config/sync/core.entity_form_display.block_content.connect_with_us.default.yml
@@ -0,0 +1,93 @@
+uuid: f9ed44e9-73d6-4b4d-a2ab-21b29664b182
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.field.block_content.connect_with_us.field_administration
+ - field.field.block_content.connect_with_us.field_email_updates_link
+ - field.field.block_content.connect_with_us.field_external_link
+ - field.field.block_content.connect_with_us.field_social_media_links
+ - workflows.workflow.editorial
+ module:
+ - content_moderation
+ - field_group
+ - link
+ - social_media_links_field
+ - textfield_counter
+third_party_settings:
+ field_group:
+ group_section_settings:
+ children:
+ - field_administration
+ - moderation_state
+ - revision_log
+ label: 'Section settings'
+ region: content
+ parent_name: ''
+ weight: 5
+ format_type: fieldset
+ format_settings:
+ classes: ''
+ show_empty_fields: false
+ id: ''
+ label_as_html: false
+ description: ''
+ required_fields: false
+ description_display: after
+id: block_content.connect_with_us.default
+targetEntityType: block_content
+bundle: connect_with_us
+mode: default
+content:
+ field_administration:
+ type: options_select
+ weight: 6
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_email_updates_link:
+ type: link_default
+ weight: 2
+ region: content
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ field_external_link:
+ type: link_default
+ weight: 1
+ region: content
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ field_social_media_links:
+ type: social_media_links_field_default
+ weight: 3
+ region: content
+ settings: { }
+ third_party_settings: { }
+ info:
+ type: string_textfield_with_counter
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ use_field_maxlength: true
+ maxlength: 0
+ counter_position: after
+ js_prevent_submit: true
+ count_only_mode: false
+ count_html_characters: true
+ textcount_status_message: '@remaining_count characters remaining'
+ third_party_settings: { }
+ moderation_state:
+ type: moderation_state_default
+ weight: 7
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
\ No newline at end of file
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 5ff2a0ac4f..a7d1d79281 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
@@ -37,6 +37,7 @@ dependencies:
- field.field.node.campaign_landing_page.field_clp_what_you_can_do_intro
- field.field.node.campaign_landing_page.field_clp_what_you_can_do_promos
- field.field.node.campaign_landing_page.field_clp_why_this_matters
+ - field.field.node.campaign_landing_page.field_connect_with_us
- field.field.node.campaign_landing_page.field_hero_blurb
- field.field.node.campaign_landing_page.field_hero_image
- field.field.node.campaign_landing_page.field_last_saved_by_an_editor
@@ -280,6 +281,7 @@ third_party_settings:
group_connect_with_us:
children:
- field_related_office
+ - field_connect_with_us
label: 'Connect with us'
region: content
parent_name: ''
@@ -306,7 +308,7 @@ content:
third_party_settings: { }
field_benefit_categories:
type: entity_reference_browser_table_widget
- weight: 42
+ weight: 48
region: content
settings:
entity_browser: lc_benefit_hubs
@@ -762,6 +764,12 @@ content:
count_html_characters: false
textcount_status_message: '@remaining_count characters remaining'
third_party_settings: { }
+ field_connect_with_us:
+ type: options_select
+ weight: 46
+ region: content
+ settings: { }
+ third_party_settings: { }
field_hero_blurb:
type: string_textfield_with_counter
weight: 4
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 5971731226..c54961c0e9 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
@@ -7,6 +7,7 @@ dependencies:
- entity_browser.browser.alert_blocks
- field.field.node.landing_page.field_administration
- field.field.node.landing_page.field_alert
+ - field.field.node.landing_page.field_connect_with_us
- field.field.node.landing_page.field_description
- field.field.node.landing_page.field_home_page_hub_label
- field.field.node.landing_page.field_intro_text
@@ -54,6 +55,7 @@ third_party_settings:
- field_links
- field_support_services
- field_related_office
+ - field_connect_with_us
label: 'Right Rail'
region: content
parent_name: ''
@@ -73,7 +75,7 @@ third_party_settings:
label: 'Editorial Workflow'
region: content
parent_name: ''
- weight: 10
+ weight: 12
format_type: details
format_settings:
classes: ''
@@ -86,7 +88,7 @@ third_party_settings:
label: 'Page last built'
region: content
parent_name: ''
- weight: 9
+ weight: 10
format_type: details_sidebar
format_settings:
classes: ''
@@ -189,6 +191,12 @@ content:
view_mode: default
selection_mode: selection_append
third_party_settings: { }
+ field_connect_with_us:
+ type: options_select
+ weight: 22
+ region: content
+ settings: { }
+ third_party_settings: { }
field_description:
type: string_textfield_with_counter
weight: 6
@@ -221,7 +229,7 @@ content:
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
- weight: 26
+ weight: 13
region: content
settings: { }
third_party_settings: { }
diff --git a/config/sync/core.entity_view_display.block_content.connect_with_us.default.yml b/config/sync/core.entity_view_display.block_content.connect_with_us.default.yml
new file mode 100644
index 0000000000..f9b1c345f3
--- /dev/null
+++ b/config/sync/core.entity_view_display.block_content.connect_with_us.default.yml
@@ -0,0 +1,61 @@
+uuid: e017d287-9cdf-4228-a513-6c652d1812a7
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.field.block_content.connect_with_us.field_administration
+ - field.field.block_content.connect_with_us.field_email_updates_link
+ - field.field.block_content.connect_with_us.field_external_link
+ - field.field.block_content.connect_with_us.field_social_media_links
+ module:
+ - link
+ - social_media_links_field
+id: block_content.connect_with_us.default
+targetEntityType: block_content
+bundle: connect_with_us
+mode: default
+content:
+ field_email_updates_link:
+ type: link
+ label: above
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: ''
+ target: ''
+ third_party_settings: { }
+ weight: 1
+ region: content
+ field_external_link:
+ type: link
+ label: above
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: ''
+ target: ''
+ third_party_settings: { }
+ weight: 0
+ region: content
+ field_social_media_links:
+ type: social_media_links_field_default
+ label: above
+ settings:
+ appearance:
+ orientation: v
+ show_name: '1'
+ link_attributes:
+ target: ''
+ rel: ''
+ third_party_settings: { }
+ weight: 2
+ region: content
+hidden:
+ breadcrumbs: true
+ content_moderation_control: true
+ field_administration: true
+ langcode: true
+ search_api_excerpt: 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 7b336c5a8e..52e2138e96 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
@@ -35,6 +35,7 @@ dependencies:
- field.field.node.campaign_landing_page.field_clp_what_you_can_do_intro
- field.field.node.campaign_landing_page.field_clp_what_you_can_do_promos
- field.field.node.campaign_landing_page.field_clp_why_this_matters
+ - field.field.node.campaign_landing_page.field_connect_with_us
- field.field.node.campaign_landing_page.field_hero_blurb
- field.field.node.campaign_landing_page.field_hero_image
- field.field.node.campaign_landing_page.field_last_saved_by_an_editor
@@ -206,6 +207,7 @@ third_party_settings:
group_connect_with_us:
children:
- field_related_office
+ - field_connect_with_us
label: 'Connect with us'
parent_name: ''
region: content
@@ -227,7 +229,7 @@ content:
settings:
link: true
third_party_settings: { }
- weight: 7
+ weight: 16
region: content
field_clp_audience:
type: entity_reference_label
@@ -442,6 +444,15 @@ content:
third_party_settings: { }
weight: 4
region: content
+ field_connect_with_us:
+ type: entity_reference_entity_view
+ label: above
+ settings:
+ view_mode: default
+ link: false
+ third_party_settings: { }
+ weight: 28
+ region: content
field_hero_blurb:
type: basic_string
label: hidden
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 6faab443af..ac5943fec6 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
@@ -36,6 +36,7 @@ dependencies:
- field.field.node.campaign_landing_page.field_clp_what_you_can_do_intro
- field.field.node.campaign_landing_page.field_clp_what_you_can_do_promos
- field.field.node.campaign_landing_page.field_clp_why_this_matters
+ - field.field.node.campaign_landing_page.field_connect_with_us
- field.field.node.campaign_landing_page.field_hero_blurb
- field.field.node.campaign_landing_page.field_hero_image
- field.field.node.campaign_landing_page.field_last_saved_by_an_editor
@@ -95,6 +96,7 @@ hidden:
field_clp_what_you_can_do_intro: true
field_clp_what_you_can_do_promos: true
field_clp_why_this_matters: true
+ field_connect_with_us: true
field_hero_blurb: true
field_hero_image: true
field_last_saved_by_an_editor: 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 7475c128b6..4b86bdc584 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
@@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.landing_page.field_administration
- field.field.node.landing_page.field_alert
+ - field.field.node.landing_page.field_connect_with_us
- field.field.node.landing_page.field_description
- field.field.node.landing_page.field_home_page_hub_label
- field.field.node.landing_page.field_intro_text
@@ -114,6 +115,15 @@ content:
third_party_settings: { }
weight: 5
region: content
+ field_connect_with_us:
+ type: entity_reference_entity_view
+ label: above
+ settings:
+ view_mode: default
+ link: true
+ third_party_settings: { }
+ weight: 5
+ region: content
field_description:
type: string
label: above
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 7a3a1c66a8..23e62b6811 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
@@ -6,6 +6,7 @@ dependencies:
- core.entity_view_mode.node.support_services_listing
- field.field.node.landing_page.field_administration
- field.field.node.landing_page.field_alert
+ - field.field.node.landing_page.field_connect_with_us
- field.field.node.landing_page.field_description
- field.field.node.landing_page.field_home_page_hub_label
- field.field.node.landing_page.field_intro_text
@@ -101,6 +102,7 @@ hidden:
content_moderation_control: true
field_administration: true
field_alert: true
+ field_connect_with_us: true
field_description: true
field_home_page_hub_label: true
field_intro_text: 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 8b86160a7c..91de8bcb92 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
@@ -6,6 +6,7 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.landing_page.field_administration
- field.field.node.landing_page.field_alert
+ - field.field.node.landing_page.field_connect_with_us
- field.field.node.landing_page.field_description
- field.field.node.landing_page.field_home_page_hub_label
- field.field.node.landing_page.field_intro_text
@@ -59,6 +60,7 @@ hidden:
content_moderation_control: true
field_administration: true
field_alert: true
+ field_connect_with_us: true
field_description: true
field_intro_text: true
field_last_saved_by_an_editor: true
diff --git a/config/sync/field.field.block_content.connect_with_us.field_administration.yml b/config/sync/field.field.block_content.connect_with_us.field_administration.yml
new file mode 100644
index 0000000000..d565cf1670
--- /dev/null
+++ b/config/sync/field.field.block_content.connect_with_us.field_administration.yml
@@ -0,0 +1,39 @@
+uuid: 02760a8d-65cb-4ff2-93a5-f5574d1dac95
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.storage.block_content.field_administration
+ - taxonomy.vocabulary.administration
+ module:
+ - entity_reference_validators
+ - tmgmt_content
+third_party_settings:
+ entity_reference_validators:
+ circular_reference: false
+ circular_reference_deep: false
+ duplicate_reference: false
+ tmgmt_content:
+ excluded: false
+id: block_content.connect_with_us.field_administration
+field_name: field_administration
+entity_type: block_content
+bundle: connect_with_us
+label: Section
+description: 'Select a section to determine who will manage this content.'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ administration: administration
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/config/sync/field.field.block_content.connect_with_us.field_email_updates_link.yml b/config/sync/field.field.block_content.connect_with_us.field_email_updates_link.yml
new file mode 100644
index 0000000000..349d4ec603
--- /dev/null
+++ b/config/sync/field.field.block_content.connect_with_us.field_email_updates_link.yml
@@ -0,0 +1,27 @@
+uuid: c5146386-b097-487d-8285-d927cb8438ce
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.storage.block_content.field_email_updates_link
+ module:
+ - link
+ - tmgmt_content
+third_party_settings:
+ tmgmt_content:
+ excluded: false
+id: block_content.connect_with_us.field_email_updates_link
+field_name: field_email_updates_link
+entity_type: block_content
+bundle: connect_with_us
+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: false
+default_value: { }
+default_value_callback: ''
+settings:
+ title: 2
+ link_type: 16
+field_type: link
\ No newline at end of file
diff --git a/config/sync/field.field.block_content.connect_with_us.field_external_link.yml b/config/sync/field.field.block_content.connect_with_us.field_external_link.yml
new file mode 100644
index 0000000000..3bc26bc6f3
--- /dev/null
+++ b/config/sync/field.field.block_content.connect_with_us.field_external_link.yml
@@ -0,0 +1,27 @@
+uuid: 28ca552a-5a3b-441b-9d50-f5ce95af99c2
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.storage.block_content.field_external_link
+ module:
+ - link
+ - tmgmt_content
+third_party_settings:
+ tmgmt_content:
+ excluded: false
+id: block_content.connect_with_us.field_external_link
+field_name: field_external_link
+entity_type: block_content
+bundle: connect_with_us
+label: 'External link'
+description: 'Enter a link to the office homepage on legacy va.gov or another external site.'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ title: 2
+ link_type: 17
+field_type: link
diff --git a/config/sync/field.field.block_content.connect_with_us.field_social_media_links.yml b/config/sync/field.field.block_content.connect_with_us.field_social_media_links.yml
new file mode 100644
index 0000000000..3c5403b571
--- /dev/null
+++ b/config/sync/field.field.block_content.connect_with_us.field_social_media_links.yml
@@ -0,0 +1,171 @@
+uuid: 0a64580e-cb15-4c79-8fec-588ae231870e
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.storage.block_content.field_social_media_links
+ module:
+ - social_media_links_field
+ - tmgmt_content
+third_party_settings:
+ tmgmt_content:
+ excluded: false
+id: block_content.connect_with_us.field_social_media_links
+field_name: field_social_media_links
+entity_type: block_content
+bundle: connect_with_us
+label: 'Social media links'
+description: ''
+required: false
+translatable: false
+default_value:
+ -
+ platform_values:
+ twitter:
+ value: ''
+ facebook:
+ value: ''
+ youtube:
+ value: ''
+ instagram:
+ value: ''
+ linkedin:
+ value: ''
+default_value_callback: ''
+settings:
+ iconset: 'fontawesome:2x'
+ platforms:
+ twitter:
+ enabled: '1'
+ description: ''
+ weight: '-43'
+ facebook:
+ enabled: '1'
+ description: ''
+ weight: '-42'
+ youtube:
+ enabled: '1'
+ description: ''
+ weight: '-41'
+ instagram:
+ enabled: '1'
+ description: ''
+ weight: '-40'
+ linkedin:
+ enabled: '1'
+ description: ''
+ weight: '-39'
+ amazon:
+ description: ''
+ weight: '-38'
+ enabled: 0
+ behance:
+ description: ''
+ weight: '-37'
+ enabled: 0
+ bitbucket:
+ description: ''
+ weight: '-36'
+ enabled: 0
+ contact:
+ description: ''
+ weight: '-35'
+ enabled: 0
+ drupal:
+ description: ''
+ weight: '-34'
+ enabled: 0
+ email:
+ description: ''
+ weight: '-33'
+ enabled: 0
+ flickr:
+ description: ''
+ weight: '-32'
+ enabled: 0
+ github:
+ description: ''
+ weight: '-31'
+ enabled: 0
+ gitlab:
+ description: ''
+ weight: '-30'
+ enabled: 0
+ glassdoor:
+ description: ''
+ weight: '-29'
+ enabled: 0
+ goodreads:
+ description: ''
+ weight: '-28'
+ enabled: 0
+ googleplay:
+ description: ''
+ weight: '-27'
+ enabled: 0
+ googleplus:
+ description: ''
+ weight: '-26'
+ enabled: 0
+ mastodon:
+ description: ''
+ weight: '-25'
+ enabled: 0
+ meetup:
+ description: ''
+ weight: '-24'
+ enabled: 0
+ patreon:
+ description: ''
+ weight: '-23'
+ enabled: 0
+ pinterest:
+ description: ''
+ weight: '-22'
+ enabled: 0
+ rss:
+ description: ''
+ weight: '-21'
+ enabled: 0
+ slideshare:
+ description: ''
+ weight: '-20'
+ enabled: 0
+ telegram:
+ description: ''
+ weight: '-19'
+ enabled: 0
+ tiktok:
+ description: ''
+ weight: '-18'
+ enabled: 0
+ tumblr:
+ description: ''
+ weight: '-17'
+ enabled: 0
+ vkontakte:
+ description: ''
+ weight: '-16'
+ enabled: 0
+ vimeo:
+ description: ''
+ weight: '-15'
+ enabled: 0
+ website:
+ description: ''
+ weight: '-14'
+ enabled: 0
+ whatsapp:
+ description: ''
+ weight: '-13'
+ enabled: 0
+ xing:
+ description: ''
+ weight: '-12'
+ enabled: 0
+ youtube_channel:
+ description: ''
+ weight: '-11'
+ enabled: 0
+field_type: social_media_links_field
diff --git a/config/sync/field.field.node.campaign_landing_page.field_connect_with_us.yml b/config/sync/field.field.node.campaign_landing_page.field_connect_with_us.yml
new file mode 100644
index 0000000000..1e42c53fba
--- /dev/null
+++ b/config/sync/field.field.node.campaign_landing_page.field_connect_with_us.yml
@@ -0,0 +1,39 @@
+uuid: 657ec158-6feb-4f30-8269-8b1132d11cc1
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.storage.node.field_connect_with_us
+ - node.type.campaign_landing_page
+ module:
+ - entity_reference_validators
+ - tmgmt_content
+third_party_settings:
+ entity_reference_validators:
+ circular_reference: false
+ circular_reference_deep: false
+ duplicate_reference: false
+ tmgmt_content:
+ excluded: false
+id: node.campaign_landing_page.field_connect_with_us
+field_name: field_connect_with_us
+entity_type: node
+bundle: campaign_landing_page
+label: 'Add a "Connect with us" block'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:block_content'
+ handler_settings:
+ target_bundles:
+ connect_with_us: connect_with_us
+ sort:
+ field: info
+ direction: ASC
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/config/sync/field.field.node.landing_page.field_connect_with_us.yml b/config/sync/field.field.node.landing_page.field_connect_with_us.yml
new file mode 100644
index 0000000000..6a1b479dfb
--- /dev/null
+++ b/config/sync/field.field.node.landing_page.field_connect_with_us.yml
@@ -0,0 +1,39 @@
+uuid: c8f39a9d-8b23-4f4f-be96-793e6ff2ab03
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+ - field.storage.node.field_connect_with_us
+ - node.type.landing_page
+ module:
+ - entity_reference_validators
+ - tmgmt_content
+third_party_settings:
+ entity_reference_validators:
+ circular_reference: false
+ circular_reference_deep: false
+ duplicate_reference: false
+ tmgmt_content:
+ excluded: false
+id: node.landing_page.field_connect_with_us
+field_name: field_connect_with_us
+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: 'default:block_content'
+ handler_settings:
+ target_bundles:
+ connect_with_us: connect_with_us
+ sort:
+ field: info
+ direction: ASC
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/config/sync/field.storage.block_content.field_email_updates_link.yml b/config/sync/field.storage.block_content.field_email_updates_link.yml
new file mode 100644
index 0000000000..5805650a2b
--- /dev/null
+++ b/config/sync/field.storage.block_content.field_email_updates_link.yml
@@ -0,0 +1,19 @@
+uuid: 46f7d7c3-95d4-4e0d-9cb2-5c1d7e59d04c
+langcode: en
+status: true
+dependencies:
+ module:
+ - block_content
+ - link
+id: block_content.field_email_updates_link
+field_name: field_email_updates_link
+entity_type: block_content
+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.block_content.field_external_link.yml b/config/sync/field.storage.block_content.field_external_link.yml
new file mode 100644
index 0000000000..85fe8b64c4
--- /dev/null
+++ b/config/sync/field.storage.block_content.field_external_link.yml
@@ -0,0 +1,19 @@
+uuid: 9e7d5c54-acae-4490-931d-0a3a554e32df
+langcode: en
+status: true
+dependencies:
+ module:
+ - block_content
+ - link
+id: block_content.field_external_link
+field_name: field_external_link
+entity_type: block_content
+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.block_content.field_social_media_links.yml b/config/sync/field.storage.block_content.field_social_media_links.yml
new file mode 100644
index 0000000000..53ccb43436
--- /dev/null
+++ b/config/sync/field.storage.block_content.field_social_media_links.yml
@@ -0,0 +1,19 @@
+uuid: a552db3b-8b97-49f2-8cae-10005aae737e
+langcode: en
+status: true
+dependencies:
+ module:
+ - block_content
+ - social_media_links_field
+id: block_content.field_social_media_links
+field_name: field_social_media_links
+entity_type: block_content
+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/field.storage.node.field_connect_with_us.yml b/config/sync/field.storage.node.field_connect_with_us.yml
new file mode 100644
index 0000000000..c7373b6f73
--- /dev/null
+++ b/config/sync/field.storage.node.field_connect_with_us.yml
@@ -0,0 +1,20 @@
+uuid: b8c5ca31-d066-4a36-99df-501aeeab8020
+langcode: en
+status: true
+dependencies:
+ module:
+ - block_content
+ - node
+id: node.field_connect_with_us
+field_name: field_connect_with_us
+entity_type: node
+type: entity_reference
+settings:
+ target_type: block_content
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/config/sync/language.content_settings.block_content.connect_with_us.yml b/config/sync/language.content_settings.block_content.connect_with_us.yml
new file mode 100644
index 0000000000..e5f72207c5
--- /dev/null
+++ b/config/sync/language.content_settings.block_content.connect_with_us.yml
@@ -0,0 +1,11 @@
+uuid: 4811d985-65b9-431d-aa71-9001f613876f
+langcode: en
+status: true
+dependencies:
+ config:
+ - block_content.type.connect_with_us
+id: block_content.connect_with_us
+target_entity_type_id: block_content
+target_bundle: connect_with_us
+default_langcode: site_default
+language_alterable: false
\ No newline at end of file
diff --git a/config/sync/user.role.content_admin.yml b/config/sync/user.role.content_admin.yml
index e69fc74b65..b270894bbc 100644
--- a/config/sync/user.role.content_admin.yml
+++ b/config/sync/user.role.content_admin.yml
@@ -5,6 +5,7 @@ dependencies:
config:
- block_content.type.alert
- block_content.type.benefit_promo
+ - block_content.type.connect_with_us
- block_content.type.cta_with_link
- block_content.type.news_promo
- block_content.type.promo
@@ -80,6 +81,7 @@ permissions:
- 'clone node entity'
- 'clone paragraph entity'
- 'create alert block content'
+ - 'create connect_with_us block content'
- 'create content translations'
- 'create cta_with_link block content'
- 'create document media'
@@ -102,6 +104,7 @@ permissions:
- 'delete video revisions'
- 'edit any alert block content'
- 'edit any benefit_promo block content'
+ - 'edit any connect_with_us block content'
- 'edit any cta_with_link block content'
- 'edit any document media'
- 'edit any document_external media'
diff --git a/config/sync/workbench_access.access_scheme.section.yml b/config/sync/workbench_access.access_scheme.section.yml
index 47bf827a67..7c8c5635c7 100644
--- a/config/sync/workbench_access.access_scheme.section.yml
+++ b/config/sync/workbench_access.access_scheme.section.yml
@@ -5,6 +5,7 @@ dependencies:
config:
- field.field.block_content.alert.field_owner
- field.field.block_content.benefit_promo.field_administration
+ - field.field.block_content.connect_with_us.field_administration
- field.field.block_content.news_promo.field_administration
- field.field.block_content.promo.field_owner
- field.field.media.document.field_owner
@@ -90,6 +91,10 @@ scheme_settings:
entity_type: block_content
bundle: benefit_promo
field: field_administration
+ -
+ entity_type: block_content
+ bundle: connect_with_us
+ field: field_administration
-
entity_type: media
bundle: image
diff --git a/config/sync/workflows.workflow.editorial.yml b/config/sync/workflows.workflow.editorial.yml
index ec9dacdbd8..875cb43979 100644
--- a/config/sync/workflows.workflow.editorial.yml
+++ b/config/sync/workflows.workflow.editorial.yml
@@ -5,6 +5,7 @@ dependencies:
config:
- block_content.type.alert
- block_content.type.benefit_promo
+ - block_content.type.connect_with_us
- block_content.type.cta_with_link
- block_content.type.news_promo
- block_content.type.promo
@@ -138,6 +139,7 @@ type_settings:
block_content:
- alert
- benefit_promo
+ - connect_with_us
- cta_with_link
- news_promo
- promo
diff --git a/tests/phpunit/Security/RolesPermissionsTest.php b/tests/phpunit/Security/RolesPermissionsTest.php
index c80b160efa..da21443a53 100644
--- a/tests/phpunit/Security/RolesPermissionsTest.php
+++ b/tests/phpunit/Security/RolesPermissionsTest.php
@@ -121,6 +121,7 @@ public function expectedPerms() {
'clone node entity',
'clone paragraph entity',
'create alert block content',
+ 'create connect_with_us block content',
'create content translations',
'create cta_with_link block content',
'create document media',
@@ -143,6 +144,7 @@ public function expectedPerms() {
'delete video revisions',
'edit any alert block content',
'edit any benefit_promo block content',
+ 'edit any connect_with_us block content',
'edit any cta_with_link block content',
'edit any document media',
'edit any document_external media',