-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VACMS-19544: Adding Connect with Us Content Block (#19770)
* new branch to fix synd error * added character counter * making the block description field more user friendly * update node view * jzuhzing the block view * Adding PW as CODEOWNER of Connect with US config * Update field label * Update test with new permissions
- Loading branch information
1 parent
bfce989
commit 46b98f8
Showing
27 changed files
with
671 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |
18 changes: 18 additions & 0 deletions
18
config/sync/core.base_field_override.block_content.connect_with_us.info.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
93 changes: 93 additions & 0 deletions
93
config/sync/core.entity_form_display.block_content.connect_with_us.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: '<span class="remaining_count">@remaining_count</span> characters remaining' | ||
third_party_settings: { } | ||
moderation_state: | ||
type: moderation_state_default | ||
weight: 7 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
langcode: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
config/sync/core.entity_view_display.block_content.connect_with_us.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: '<none>' | ||
rel: '<none>' | ||
third_party_settings: { } | ||
weight: 2 | ||
region: content | ||
hidden: | ||
breadcrumbs: true | ||
content_moderation_control: true | ||
field_administration: true | ||
langcode: true | ||
search_api_excerpt: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.