Skip to content

Commit

Permalink
Form Engine: Integration Branch (2) (#19123)
Browse files Browse the repository at this point in the history
* VATEAM-90582: Add 21-4140 Digital Form to seed script (#19047)

* Add create_digital_forms

* Add 21-4140 to digital forms script

* Switch includeDob to snake case

* VATEAM-90628: Add Identification Information Paragraph type (#19190)

* Add OMB info fields to Digital Form (#19078)

* Add Identification Information pattern

* Add OMB Info to digital-forms script

* Add Identification Information to digital-forms script

* VATEAM-90650: Create Address Digital Form Pattern (#19331)

Creates a Paragraph type in Drupal for the "Address" pattern. The Paragraph type includes an "Include military address checkbox?" boolean field. Adds the new Paragraph type to the list of available Paragraph types in the "Steps" field of the Digital Form content type.

* VATEAM-90651: Create Phone and Email Digital Form pattern (#19464)

Creates a Paragraph type in Drupal for the "Phone and Email Address" pattern. The Paragraph type includes an "Include email address?" boolean field. Adds the new Paragraph type to the list of available Paragraph types in the "Steps" field of the Digital Form content type.

* VATEAM-94366: Create "Your personal information" Paragraph type (#19534)

Create a new Paragraph type called "Your personal information" that contains the "Name and Date of Birth" and "Identification Information" Paragraph types within it. Remove "Name and Date of Birth" and "Identification Information" as selectable Steps. Update the Digital Forms script to use the new Paragraph type.

* VATEAM-90652: Create List & Loop pattern (#19816)

Creates a Paragraph type in Drupal for the "List & Loop" pattern. The Paragraph type includes an "Optional?" boolean field. Adds the new Paragraph type to the list of available Paragraph types in the "Steps" field of the Digital Form content type.

---------

Co-authored-by: Derek Houck <[email protected]>
Co-authored-by: Derek Houck <[email protected]>
Co-authored-by: Derek Houck <[email protected]>
  • Loading branch information
4 people authored Dec 12, 2024
1 parent 0ed827f commit bd69fd8
Show file tree
Hide file tree
Showing 43 changed files with 1,472 additions and 70 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
uuid: 8dd7010f-395f-49c2-b8d4-4a1bca25e802
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_address.field_military_address_checkbox
- field.field.paragraph.digital_form_address.field_title
- paragraphs.paragraphs_type.digital_form_address
module:
- textfield_counter
id: paragraph.digital_form_address.default
targetEntityType: paragraph
bundle: digital_form_address
mode: default
content:
field_military_address_checkbox:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
field_title:
type: string_textfield_with_counter
weight: 1
region: content
settings:
size: 60
placeholder: ''
use_field_maxlength: false
maxlength: 0
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: 'Maxlength: <span class="maxlength_count">@maxlength</span><br />Used: <span class="current_count">@current_length</span><br />Remaining: <span class="remaining_count">@remaining_count</span>'
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
uuid: f6c77a23-cd2f-4a5b-9589-4a3ab27cab26
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_identification_info.field_include_veteran_s_service
- field.field.paragraph.digital_form_identification_info.field_title
- paragraphs.paragraphs_type.digital_form_identification_info
module:
- textfield_counter
id: paragraph.digital_form_identification_info.default
targetEntityType: paragraph
bundle: digital_form_identification_info
mode: default
content:
field_include_veteran_s_service:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
field_title:
type: string_textfield_with_counter
weight: 1
region: content
settings:
size: 60
placeholder: ''
use_field_maxlength: false
maxlength: 0
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: 'Maxlength: <span class="maxlength_count">@maxlength</span><br />Used: <span class="current_count">@current_length</span><br />Remaining: <span class="remaining_count">@remaining_count</span>'
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
uuid: a4c4e711-801b-463b-bb82-6fa6df748fb7
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_list_loop.field_optional
- field.field.paragraph.digital_form_list_loop.field_title
- paragraphs.paragraphs_type.digital_form_list_loop
module:
- textfield_counter
id: paragraph.digital_form_list_loop.default
targetEntityType: paragraph
bundle: digital_form_list_loop
mode: default
content:
field_optional:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
field_title:
type: string_textfield_with_counter
weight: 1
region: content
settings:
size: 60
placeholder: ''
use_field_maxlength: false
maxlength: 0
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: 'Maxlength: <span class="maxlength_count">@maxlength</span><br />Used: <span class="current_count">@current_length</span><br />Remaining: <span class="remaining_count">@remaining_count</span>'
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
uuid: 61cc39e0-1a19-4b96-83a6-ddf2fbfaaaf2
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_phone_and_email.field_include_email
- field.field.paragraph.digital_form_phone_and_email.field_title
- paragraphs.paragraphs_type.digital_form_phone_and_email
module:
- textfield_counter
id: paragraph.digital_form_phone_and_email.default
targetEntityType: paragraph
bundle: digital_form_phone_and_email
mode: default
content:
field_include_email:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
field_title:
type: string_textfield_with_counter
weight: 1
region: content
settings:
size: 60
placeholder: ''
use_field_maxlength: false
maxlength: 0
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: 'Maxlength: <span class="maxlength_count">@maxlength</span><br />Used: <span class="current_count">@current_length</span><br />Remaining: <span class="remaining_count">@remaining_count</span>'
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
uuid: b4a33089-b539-4fe4-bb9c-45abb0c19772
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_your_personal_info.field_identification_information
- field.field.paragraph.digital_form_your_personal_info.field_name_and_date_of_birth
- paragraphs.paragraphs_type.digital_form_your_personal_info
module:
- inline_entity_form
- paragraphs_features
id: paragraph.digital_form_your_personal_info.default
targetEntityType: paragraph
bundle: digital_form_your_personal_info
mode: default
content:
field_identification_information:
type: inline_entity_form_simple
weight: 2
region: content
settings:
form_mode: default
override_labels: false
label_singular: ''
label_plural: ''
collapsible: false
collapsed: false
revision: false
third_party_settings: { }
field_name_and_date_of_birth:
type: inline_entity_form_simple
weight: 1
region: content
settings:
form_mode: default
override_labels: false
label_singular: ''
label_plural: ''
collapsible: false
collapsed: false
revision: false
third_party_settings:
paragraphs_features:
add_in_between: false
add_in_between_link_count: 3
delete_confirmation: false
show_drag_and_drop: false
show_collapse_all: false
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: b42c50ad-a478-44d3-a17b-3f6e8eee7106
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_address.field_military_address_checkbox
- field.field.paragraph.digital_form_address.field_title
- paragraphs.paragraphs_type.digital_form_address
id: paragraph.digital_form_address.default
targetEntityType: paragraph
bundle: digital_form_address
mode: default
content:
field_military_address_checkbox:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 1
region: content
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
breadcrumbs: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: 9c0520b1-d6ae-4f32-a85e-154212709a0e
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.user_guides
- field.field.paragraph.digital_form_address.field_military_address_checkbox
- field.field.paragraph.digital_form_address.field_title
- paragraphs.paragraphs_type.digital_form_address
id: paragraph.digital_form_address.user_guides
targetEntityType: paragraph
bundle: digital_form_address
mode: user_guides
content:
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
breadcrumbs: true
field_military_address_checkbox: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: ee8a8314-d05e-41c9-a1d4-8f79e7f32a0c
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_identification_info.field_include_veteran_s_service
- field.field.paragraph.digital_form_identification_info.field_title
- paragraphs.paragraphs_type.digital_form_identification_info
id: paragraph.digital_form_identification_info.default
targetEntityType: paragraph
bundle: digital_form_identification_info
mode: default
content:
field_include_veteran_s_service:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 1
region: content
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
breadcrumbs: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: b90e31e0-3a2b-41b1-84c8-77f99240339b
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.user_guides
- field.field.paragraph.digital_form_identification_info.field_include_veteran_s_service
- field.field.paragraph.digital_form_identification_info.field_title
- paragraphs.paragraphs_type.digital_form_identification_info
id: paragraph.digital_form_identification_info.user_guides
targetEntityType: paragraph
bundle: digital_form_identification_info
mode: user_guides
content:
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
breadcrumbs: true
field_include_veteran_s_service: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: 9437cc25-1730-4c5f-9389-9ede1fdf62b7
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.digital_form_list_loop.field_optional
- field.field.paragraph.digital_form_list_loop.field_title
- paragraphs.paragraphs_type.digital_form_list_loop
id: paragraph.digital_form_list_loop.default
targetEntityType: paragraph
bundle: digital_form_list_loop
mode: default
content:
field_optional:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 1
region: content
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
breadcrumbs: true
search_api_excerpt: true
Loading

0 comments on commit bd69fd8

Please sign in to comment.