-
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.
VATEAM-87711: Add Digital Form content type (#18717)
* Add Digital Form content type * Update Digital Form description --------- Co-authored-by: Derek Houck <[email protected]>
- Loading branch information
Showing
19 changed files
with
541 additions
and
0 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 |
96 changes: 96 additions & 0 deletions
96
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,96 @@ | ||
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_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: | ||
- content_moderation | ||
- field_group | ||
- 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_administration: | ||
type: options_select | ||
weight: 1 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_last_saved_by_an_editor: | ||
type: datetime_timestamp | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_omb_number: | ||
type: string_textfield | ||
weight: 5 | ||
region: content | ||
settings: | ||
size: 9 | ||
placeholder: XXXX-XXXX | ||
third_party_settings: { } | ||
field_va_form_number: | ||
type: string_textfield | ||
weight: 2 | ||
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: 4 | ||
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_meta_tags: true | ||
langcode: true | ||
promote: true | ||
status: true | ||
sticky: true | ||
uid: true | ||
url_redirects: true |
43 changes: 43 additions & 0 deletions
43
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,43 @@ | ||
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_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: | ||
- user | ||
id: node.digital_form.default | ||
targetEntityType: node | ||
bundle: digital_form | ||
mode: default | ||
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 |
57 changes: 57 additions & 0 deletions
57
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,57 @@ | ||
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_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_last_saved_by_an_editor: true | ||
field_meta_tags: true | ||
field_omb_number: true | ||
langcode: true | ||
search_api_excerpt: true |
50 changes: 50 additions & 0 deletions
50
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,50 @@ | ||
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_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_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 |
39 changes: 39 additions & 0 deletions
39
config/sync/field.field.node.digital_form.field_administration.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,39 @@ | ||
uuid: d49d4508-3a4d-4b12-a8d9-51b44eb854ca | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_administration | ||
- node.type.digital_form | ||
- taxonomy.vocabulary.administration | ||
module: | ||
- entity_reference_validators | ||
- tmgmt_content | ||
third_party_settings: | ||
entity_reference_validators: | ||
circular_reference: false | ||
circular_reference_deep: false | ||
duplicate_reference: false | ||
tmgmt_content: | ||
excluded: false | ||
id: node.digital_form.field_administration | ||
field_name: field_administration | ||
entity_type: node | ||
bundle: digital_form | ||
label: Section | ||
description: '' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
handler: 'default:taxonomy_term' | ||
handler_settings: | ||
target_bundles: | ||
administration: administration | ||
sort: | ||
field: name | ||
direction: asc | ||
auto_create: false | ||
auto_create_bundle: '' | ||
field_type: entity_reference |
26 changes: 26 additions & 0 deletions
26
config/sync/field.field.node.digital_form.field_last_saved_by_an_editor.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,26 @@ | ||
uuid: e173d8c9-2458-49d9-8406-7654da2c8882 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_last_saved_by_an_editor | ||
- node.type.digital_form | ||
module: | ||
- tmgmt_content | ||
third_party_settings: | ||
tmgmt_content: | ||
excluded: false | ||
id: node.digital_form.field_last_saved_by_an_editor | ||
field_name: field_last_saved_by_an_editor | ||
entity_type: node | ||
bundle: digital_form | ||
label: 'Last Saved by an Editor' | ||
description: 'This is the last time an editor interacted with this content. This field is populated automatically when you click Save.' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: 1721337765 | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: timestamp |
25 changes: 25 additions & 0 deletions
25
config/sync/field.field.node.digital_form.field_meta_tags.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,25 @@ | ||
uuid: 065acdc6-1465-452e-8a8e-53c6ff7e37ca | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_meta_tags | ||
- node.type.digital_form | ||
module: | ||
- metatag | ||
- tmgmt_content | ||
third_party_settings: | ||
tmgmt_content: | ||
excluded: false | ||
id: node.digital_form.field_meta_tags | ||
field_name: field_meta_tags | ||
entity_type: node | ||
bundle: digital_form | ||
label: 'Meta tags' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: metatag |
Oops, something went wrong.