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

DIGITAL-30: Migrate node templates #37

Merged
merged 4 commits into from
Nov 21, 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
31 changes: 19 additions & 12 deletions config/sync/core.entity_form_display.node.authors.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ third_party_settings:
label: 'Social Media'
region: content
parent_name: ''
weight: 20
weight: 19
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -73,39 +73,39 @@ content:
third_party_settings: { }
field_agency_acronym:
type: string_textfield
weight: 15
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_agency_full_name:
type: string_textfield
weight: 14
weight: 13
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_bio:
type: text_textfield
weight: 17
weight: 16
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_bio_url:
type: link_default
weight: 18
weight: 17
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_email:
type: email_default
weight: 12
weight: 11
region: content
settings:
placeholder: ''
Expand All @@ -121,7 +121,7 @@ content:
third_party_settings: { }
field_first_name:
type: text_textfield
weight: 9
weight: 8
region: content
settings:
size: 60
Expand All @@ -145,7 +145,7 @@ content:
third_party_settings: { }
field_last_name:
type: text_textfield
weight: 10
weight: 9
region: content
settings:
size: 60
Expand All @@ -161,23 +161,31 @@ content:
third_party_settings: { }
field_location:
type: string_textfield
weight: 16
weight: 15
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_pronouns:
type: string_textfield
weight: 11
weight: 10
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_slug:
type: string_textfield
weight: 18
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_summary:
type: text_textfield
weight: 13
weight: 12
region: content
settings:
size: 60
Expand Down Expand Up @@ -256,7 +264,6 @@ content:
settings: { }
third_party_settings: { }
hidden:
field_slug: true
publish_on: true
publish_state: true
unpublish_on: true
Expand Down
11 changes: 11 additions & 0 deletions config/sync/core.entity_form_display.node.guides.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ dependencies:
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
- field.field.node.guides.field_primary_image
- field.field.node.guides.field_summary
- field.field.node.guides.field_summary_box
- field.field.node.guides.field_topics
- node.type.guides
- workflows.workflow.editorial
module:
- content_moderation
- inline_entity_form
- media_library
- path
- text
id: node.guides.default
targetEntityType: node
Expand Down Expand Up @@ -61,6 +64,14 @@ content:
settings:
placeholder: ''
third_party_settings: { }
field_kicker:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_page_weight:
type: number
weight: 9
Expand Down
32 changes: 25 additions & 7 deletions config/sync/core.entity_form_display.node.landing_page.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ dependencies:
config:
- field.field.node.landing_page.body
- field.field.node.landing_page.field_buttons
- field.field.node.landing_page.field_deck
- field.field.node.landing_page.field_landing_page_type
- field.field.node.landing_page.field_summary
- node.type.landing_page
- workflows.workflow.editorial
module:
- content_moderation
- link
- path
- text
id: node.landing_page.default
targetEntityType: node
Expand All @@ -18,7 +22,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
weight: 4
region: content
settings:
rows: 9
Expand All @@ -28,18 +32,32 @@ content:
third_party_settings: { }
created:
type: datetime_timestamp
weight: 5
weight: 6
region: content
settings: { }
third_party_settings: { }
field_buttons:
type: link_default
weight: 2
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_deck:
type: text_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_landing_page_type:
type: options_select
weight: 2
region: content
settings: { }
third_party_settings: { }
field_summary:
type: text_textfield
weight: 1
Expand All @@ -50,19 +68,19 @@ content:
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 6
weight: 7
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 30
weight: 9
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 7
weight: 8
region: content
settings:
display_label: true
Expand All @@ -77,7 +95,7 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 4
weight: 5
region: content
settings:
match_operator: CONTAINS
Expand Down
9 changes: 8 additions & 1 deletion config/sync/core.entity_form_display.node.news.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ content:
settings:
media_types: { }
third_party_settings: { }
field_slug:
type: string_textfield
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_summary:
type: text_textfield
weight: 3
Expand Down Expand Up @@ -172,7 +180,6 @@ content:
settings: { }
third_party_settings: { }
hidden:
field_slug: true
promote: true
publish_on: true
publish_state: true
Expand Down
13 changes: 10 additions & 3 deletions config/sync/core.entity_form_display.node.topics.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ content:
third_party_settings: { }
field_featured_links:
type: paragraphs
weight: 28
weight: 13
region: content
settings:
title: Paragraph
Expand All @@ -90,7 +90,7 @@ content:
third_party_settings: { }
field_featured_resources:
type: paragraphs
weight: 26
weight: 12
region: content
settings:
title: Paragraph
Expand Down Expand Up @@ -130,6 +130,14 @@ content:
settings:
media_types: { }
third_party_settings: { }
field_slug:
type: string_textfield
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_summary:
type: text_textfield
weight: 2
Expand Down Expand Up @@ -189,7 +197,6 @@ content:
settings: { }
third_party_settings: { }
hidden:
field_slug: true
promote: true
publish_on: true
publish_state: true
Expand Down
14 changes: 14 additions & 0 deletions config/sync/core.entity_view_display.node.guides.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
- field.field.node.guides.field_primary_image
- field.field.node.guides.field_summary
Expand All @@ -28,6 +29,11 @@ content:
third_party_settings: { }
weight: 101
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
field_deck:
type: text_default
label: above
Expand All @@ -53,6 +59,14 @@ content:
third_party_settings: { }
weight: 127
region: content
field_kicker:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 116
region: content
field_page_weight:
type: number_integer
label: above
Expand Down
7 changes: 7 additions & 0 deletions config/sync/core.entity_view_display.node.guides.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
- field.field.node.guides.field_primary_image
- field.field.node.guides.field_summary
Expand All @@ -30,6 +31,11 @@ content:
third_party_settings: { }
weight: 101
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
links:
settings: { }
third_party_settings: { }
Expand All @@ -39,6 +45,7 @@ hidden:
field_deck: true
field_featured_image: true
field_guide_weight: true
field_kicker: true
field_page_weight: true
field_primary_image: true
field_summary: true
Expand Down
Loading