-
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.
VAGOV-TEAM-87958: Integration branch for Form Engine POC (#18811)
* VATEAM-87711: Add Digital Form content type (#18717) * Add Digital Form content type * Update Digital Form description --------- Co-authored-by: Derek Houck <[email protected]> * Add chapters field to Digital Form * Add screenshot of name and dob pattern * VATEAM-88658: Script to add Digital Forms test data (#19025) * WIP: Create digital form script * Add steps * Rename exit_if_wrong_env --------- Co-authored-by: Derek Houck <[email protected]> Co-authored-by: Derek Houck <[email protected]> Co-authored-by: Derek Houck <[email protected]> Co-authored-by: Tim Cosgrove <[email protected]>
- Loading branch information
1 parent
692fba7
commit 6abe545
Showing
33 changed files
with
1,070 additions
and
5 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
config/sync/core.base_field_override.node.digital_form.promote.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,22 @@ | ||
uuid: ac87a752-cc60-4bde-bd33-18098f65e851 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.digital_form | ||
id: node.digital_form.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: digital_form | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
18 changes: 18 additions & 0 deletions
18
config/sync/core.base_field_override.node.digital_form.title.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: 2449594d-1ce2-4f60-aab4-1da1b27f5864 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.digital_form | ||
id: node.digital_form.title | ||
field_name: title | ||
entity_type: node | ||
bundle: digital_form | ||
label: 'Form Name' | ||
description: '' | ||
required: true | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
132 changes: 132 additions & 0 deletions
132
config/sync/core.entity_form_display.node.digital_form.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,132 @@ | ||
uuid: 18ba1fa4-f0d9-45f4-9547-0c55f1868ba2 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.digital_form.field_administration | ||
- field.field.node.digital_form.field_chapters | ||
- field.field.node.digital_form.field_last_saved_by_an_editor | ||
- field.field.node.digital_form.field_meta_tags | ||
- field.field.node.digital_form.field_omb_number | ||
- field.field.node.digital_form.field_va_form_number | ||
- node.type.digital_form | ||
- workflows.workflow.editorial | ||
module: | ||
- change_labels | ||
- content_moderation | ||
- field_group | ||
- limited_field_widgets | ||
- no_table_drag | ||
- paragraphs_browser | ||
- paragraphs_features | ||
- path | ||
third_party_settings: | ||
field_group: | ||
group_editorial_workflow: | ||
children: | ||
- moderation_state | ||
- revision_log | ||
label: 'Editorial Workflow' | ||
region: content | ||
parent_name: '' | ||
weight: 6 | ||
format_type: fieldset | ||
format_settings: | ||
classes: '' | ||
show_empty_fields: false | ||
id: '' | ||
description: '' | ||
required_fields: true | ||
description_display: after | ||
id: node.digital_form.default | ||
targetEntityType: node | ||
bundle: digital_form | ||
mode: default | ||
content: | ||
field_chapters: | ||
type: paragraphs_browser | ||
weight: 5 | ||
region: content | ||
settings: | ||
title: Step | ||
title_plural: Steps | ||
edit_mode: open | ||
closed_mode: summary | ||
autocollapse: none | ||
closed_mode_threshold: '0' | ||
add_mode: paragraphs_browser | ||
form_display_mode: default | ||
default_paragraph_type: _none | ||
features: | ||
duplicate: duplicate | ||
collapse_edit_all: collapse_edit_all | ||
add_above: 0 | ||
convert: 0 | ||
paragraphs_browser: digital_forms | ||
modal_width: 80% | ||
modal_height: auto | ||
third_party_settings: | ||
paragraphs_features: | ||
add_in_between: false | ||
add_in_between_link_count: 3 | ||
delete_confirmation: false | ||
show_drag_and_drop: true | ||
show_collapse_all: true | ||
limited_field_widgets: | ||
limit_values: '0' | ||
change_labels: | ||
add_another: '' | ||
no_table_drag: | ||
no_table_drag: false | ||
field_last_saved_by_an_editor: | ||
type: datetime_timestamp | ||
weight: 2 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_omb_number: | ||
type: string_textfield | ||
weight: 4 | ||
region: content | ||
settings: | ||
size: 9 | ||
placeholder: XXXX-XXXX | ||
third_party_settings: { } | ||
field_va_form_number: | ||
type: string_textfield | ||
weight: 1 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
moderation_state: | ||
type: moderation_state_default | ||
weight: 12 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
title: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
created: true | ||
field_administration: true | ||
field_meta_tags: true | ||
langcode: true | ||
promote: true | ||
status: true | ||
sticky: true | ||
uid: true | ||
url_redirects: true |
40 changes: 40 additions & 0 deletions
40
config/sync/core.entity_form_display.paragraph.digital_form_name_and_date_of_bi.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,40 @@ | ||
uuid: 7a85e837-9879-4f7f-9e0b-ebad0066e521 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.digital_form_name_and_date_of_bi.field_include_date_of_birth | ||
- field.field.paragraph.digital_form_name_and_date_of_bi.field_title | ||
- paragraphs.paragraphs_type.digital_form_name_and_date_of_bi | ||
module: | ||
- textfield_counter | ||
id: paragraph.digital_form_name_and_date_of_bi.default | ||
targetEntityType: paragraph | ||
bundle: digital_form_name_and_date_of_bi | ||
mode: default | ||
content: | ||
field_include_date_of_birth: | ||
type: boolean_checkbox | ||
weight: 1 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
field_title: | ||
type: string_textfield_with_counter | ||
weight: 0 | ||
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 |
54 changes: 54 additions & 0 deletions
54
config/sync/core.entity_view_display.node.digital_form.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,54 @@ | ||
uuid: 73414b44-8d43-4231-9695-b8092f02e821 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.digital_form.field_administration | ||
- field.field.node.digital_form.field_chapters | ||
- field.field.node.digital_form.field_last_saved_by_an_editor | ||
- field.field.node.digital_form.field_meta_tags | ||
- field.field.node.digital_form.field_omb_number | ||
- field.field.node.digital_form.field_va_form_number | ||
- node.type.digital_form | ||
module: | ||
- entity_reference_revisions | ||
- user | ||
id: node.digital_form.default | ||
targetEntityType: node | ||
bundle: digital_form | ||
mode: default | ||
content: | ||
field_chapters: | ||
type: entity_reference_revisions_entity_view | ||
label: above | ||
settings: | ||
view_mode: default | ||
link: '' | ||
third_party_settings: { } | ||
weight: 2 | ||
region: content | ||
field_omb_number: | ||
type: string | ||
label: above | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 1 | ||
region: content | ||
field_va_form_number: | ||
type: string | ||
label: above | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
breadcrumbs: true | ||
content_moderation_control: true | ||
field_administration: true | ||
field_last_saved_by_an_editor: true | ||
field_meta_tags: true | ||
langcode: true | ||
links: true | ||
search_api_excerpt: true |
59 changes: 59 additions & 0 deletions
59
config/sync/core.entity_view_display.node.digital_form.external_content.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,59 @@ | ||
uuid: bae3d4cd-0dd9-4a17-972b-ff3ef6bf7ba5 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.node.external_content | ||
- field.field.node.digital_form.field_administration | ||
- field.field.node.digital_form.field_chapters | ||
- field.field.node.digital_form.field_last_saved_by_an_editor | ||
- field.field.node.digital_form.field_meta_tags | ||
- field.field.node.digital_form.field_omb_number | ||
- field.field.node.digital_form.field_va_form_number | ||
- node.type.digital_form | ||
module: | ||
- link | ||
- user | ||
id: node.digital_form.external_content | ||
targetEntityType: node | ||
bundle: digital_form | ||
mode: external_content | ||
content: | ||
breadcrumbs: | ||
type: link | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
weight: -5 | ||
region: content | ||
content_moderation_control: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: -20 | ||
region: content | ||
field_va_form_number: | ||
type: string | ||
label: above | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 1 | ||
region: content | ||
links: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 100 | ||
region: content | ||
hidden: | ||
field_administration: true | ||
field_chapters: true | ||
field_last_saved_by_an_editor: true | ||
field_meta_tags: true | ||
field_omb_number: true | ||
langcode: true | ||
search_api_excerpt: true |
52 changes: 52 additions & 0 deletions
52
config/sync/core.entity_view_display.node.digital_form.teaser.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,52 @@ | ||
uuid: acbd9ba8-c64b-4b82-a7dd-11f8fe57a9ff | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.node.teaser | ||
- field.field.node.digital_form.field_administration | ||
- field.field.node.digital_form.field_chapters | ||
- field.field.node.digital_form.field_last_saved_by_an_editor | ||
- field.field.node.digital_form.field_meta_tags | ||
- field.field.node.digital_form.field_omb_number | ||
- field.field.node.digital_form.field_va_form_number | ||
- node.type.digital_form | ||
module: | ||
- link | ||
- user | ||
id: node.digital_form.teaser | ||
targetEntityType: node | ||
bundle: digital_form | ||
mode: teaser | ||
content: | ||
breadcrumbs: | ||
type: link | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
weight: -5 | ||
region: content | ||
content_moderation_control: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: -20 | ||
region: content | ||
links: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 100 | ||
region: content | ||
hidden: | ||
field_administration: true | ||
field_chapters: true | ||
field_last_saved_by_an_editor: true | ||
field_meta_tags: true | ||
field_omb_number: true | ||
field_va_form_number: true | ||
langcode: true | ||
search_api_excerpt: true |
Oops, something went wrong.