Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOTE-3125 add shared fields to state display content block type #1102

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ dependencies:
- field.field.block_content.state_display_content.field_election_date
- field.field.block_content.state_display_content.field_election_text
- field.field.block_content.state_display_content.field_in_person_registration
- field.field.block_content.state_display_content.field_last_updated_label
- field.field.block_content.state_display_content.field_mail_registration
- field.field.block_content.state_display_content.field_military_and_overseas_regi
- field.field.block_content.state_display_content.field_no_mail_registration
- field.field.block_content.state_display_content.field_no_online_registration
- field.field.block_content.state_display_content.field_nvrf_details
- field.field.block_content.state_display_content.field_online_registration
- field.field.block_content.state_display_content.field_postmarked_mail_text
- field.field.block_content.state_display_content.field_received_mail_text
- field.field.block_content.state_display_content.field_registration_not_needed
module:
- allowed_formats
Expand Down Expand Up @@ -71,6 +74,14 @@ content:
- text
- link_text
third_party_settings: { }
field_last_updated_label:
type: string_textfield
weight: 13
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_mail_registration:
type: vote_fields_state_content
weight: 5
Expand Down Expand Up @@ -131,6 +142,22 @@ content:
- text
- link_text
third_party_settings: { }
field_postmarked_mail_text:
type: string_textfield
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_received_mail_text:
type: string_textfield
weight: 15
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_registration_not_needed:
type: vote_fields_state_content
weight: 10
Expand All @@ -151,13 +178,13 @@ content:
third_party_settings: { }
langcode:
type: language_select
weight: 14
weight: 17
region: content
settings:
include_locked: true
third_party_settings: { }
translation:
weight: 13
weight: 16
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ dependencies:
- field.field.block_content.state_display_content.field_election_date
- field.field.block_content.state_display_content.field_election_text
- field.field.block_content.state_display_content.field_in_person_registration
- field.field.block_content.state_display_content.field_last_updated_label
- field.field.block_content.state_display_content.field_mail_registration
- field.field.block_content.state_display_content.field_military_and_overseas_regi
- field.field.block_content.state_display_content.field_no_mail_registration
- field.field.block_content.state_display_content.field_no_online_registration
- field.field.block_content.state_display_content.field_nvrf_details
- field.field.block_content.state_display_content.field_online_registration
- field.field.block_content.state_display_content.field_postmarked_mail_text
- field.field.block_content.state_display_content.field_received_mail_text
- field.field.block_content.state_display_content.field_registration_not_needed
module:
- datetime
Expand Down Expand Up @@ -63,6 +66,14 @@ content:
third_party_settings: { }
weight: 7
region: content
field_last_updated_label:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 14
region: content
field_mail_registration:
type: vote_fields_state_content_default
label: above
Expand Down Expand Up @@ -105,6 +116,22 @@ content:
third_party_settings: { }
weight: 4
region: content
field_postmarked_mail_text:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 15
region: content
field_received_mail_text:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 16
region: content
field_registration_not_needed:
type: vote_fields_state_content_default
label: above
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 0b24ffb5-0c11-477e-a9ed-3f8b0f3b442c
langcode: en
status: true
dependencies:
config:
- block_content.type.state_display_content
- field.storage.block_content.field_last_updated_label
id: block_content.state_display_content.field_last_updated_label
field_name: field_last_updated_label
entity_type: block_content
bundle: state_display_content
label: 'Last updated label'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 9a77ea9d-df6f-40dd-a798-91adf1dc7e54
langcode: en
status: true
dependencies:
config:
- block_content.type.state_display_content
- field.storage.block_content.field_postmarked_mail_text
id: block_content.state_display_content.field_postmarked_mail_text
field_name: field_postmarked_mail_text
entity_type: block_content
bundle: state_display_content
label: 'Postmarked mail deadline text'
description: 'Use the placeholder <strong>@date</strong> to insert the mail deadline date on the state page.'
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 947b7637-8aa7-4b0d-8250-c44688868374
langcode: en
status: true
dependencies:
config:
- block_content.type.state_display_content
- field.storage.block_content.field_received_mail_text
id: block_content.state_display_content.field_received_mail_text
field_name: field_received_mail_text
entity_type: block_content
bundle: state_display_content
label: 'Received mail deadline text'
description: 'Use the placeholder <strong>@date</strong> to insert the mail deadline date on the state page.'
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: dfb91ee4-5cea-4a07-8096-5d3a05881fef
langcode: en
status: true
dependencies:
module:
- block_content
id: block_content.field_last_updated_label
field_name: field_last_updated_label
entity_type: block_content
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: be18e2bd-5a2f-40b4-8200-6700c6a4728a
langcode: en
status: true
dependencies:
module:
- block_content
id: block_content.field_postmarked_mail_text
field_name: field_postmarked_mail_text
entity_type: block_content
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: da92ce02-5efa-44dd-9c11-edff80d95c17
langcode: en
status: true
dependencies:
module:
- block_content
id: block_content.field_received_mail_text
field_name: field_received_mail_text
entity_type: block_content
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false