-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VOTE-2810, VOTE-2811, VOTE-2812 state content field changes (#1001)
* VOTE-2810: Create custom vote_fields module. * VOTE-2811 & VOTE-2812: Update state content type with new fields from custom module. Create State Display Content block type using fields from custom module. Enable vote_fields module.
- Loading branch information
1 parent
47a05dc
commit 249391d
Showing
53 changed files
with
1,441 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uuid: 04bbb28f-81a5-4aba-9380-bd39f3f4d4ac | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: state_display_content | ||
label: 'State Display Content' | ||
revision: false | ||
description: null |
18 changes: 18 additions & 0 deletions
18
config/sync/core.base_field_override.block_content.state_display_content.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: 88d8a733-9ac0-40d7-bba5-6479afe60faa | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.state_display_content | ||
id: block_content.state_display_content.info | ||
field_name: info | ||
entity_type: block_content | ||
bundle: state_display_content | ||
label: 'Block description' | ||
description: 'A brief description of your block.' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
121 changes: 121 additions & 0 deletions
121
config/sync/core.entity_form_display.block_content.state_display_content.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,121 @@ | ||
uuid: 472d07c3-96c1-4a42-952e-946dd7b8f781 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.state_display_content | ||
- field.field.block_content.state_display_content.field_check_registration | ||
- field.field.block_content.state_display_content.field_display_title | ||
- 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_mail_registration | ||
- field.field.block_content.state_display_content.field_military_and_overseas_regi | ||
- 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_registration_intro | ||
- field.field.block_content.state_display_content.field_registration_not_needed | ||
module: | ||
- allowed_formats | ||
- datetime | ||
- text | ||
- vote_fields | ||
id: block_content.state_display_content.default | ||
targetEntityType: block_content | ||
bundle: state_display_content | ||
mode: default | ||
content: | ||
field_check_registration: | ||
type: vote_fields_state_content | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_display_title: | ||
type: string_textfield | ||
weight: 1 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_election_date: | ||
type: datetime_default | ||
weight: 10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_election_text: | ||
type: text_textarea | ||
weight: 11 | ||
region: content | ||
settings: | ||
rows: 3 | ||
placeholder: '' | ||
third_party_settings: | ||
allowed_formats: | ||
hide_help: '0' | ||
hide_guidelines: '0' | ||
field_in_person_registration: | ||
type: vote_fields_state_content | ||
weight: 7 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_mail_registration: | ||
type: vote_fields_state_content | ||
weight: 5 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_military_and_overseas_regi: | ||
type: vote_fields_state_content | ||
weight: 8 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_nvrf_details: | ||
type: vote_fields_state_content | ||
weight: 6 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_online_registration: | ||
type: vote_fields_state_content | ||
weight: 4 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_registration_intro: | ||
type: vote_fields_state_content | ||
weight: 2 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_registration_not_needed: | ||
type: vote_fields_state_content | ||
weight: 9 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
info: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 13 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
translation: | ||
weight: 12 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: { } |
Oops, something went wrong.