Add upgrade_d7_field_instance_widget_settings configuration migration

Copied from ref_migrations folder
This commit is contained in:
Mauricio Dinarte 2024-12-04 10:12:12 -06:00
parent 4b10d1e5f1
commit fc866785db
6 changed files with 377 additions and 4 deletions

View file

@ -16,7 +16,7 @@ mode: default
content: content:
body: body:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 121 weight: -4
region: content region: content
settings: settings:
rows: 9 rows: 9
@ -30,6 +30,16 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_tags:
type: entity_reference_autocomplete
weight: -4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
path: path:
type: path type: path
weight: 30 weight: 30
@ -75,5 +85,4 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: hidden: { }
field_tags: true

View file

@ -0,0 +1,133 @@
uuid: bac38913-32d6-4667-a0df-ce1f1291d6ba
langcode: en
status: true
dependencies:
config:
- field.field.node.event.field_date
- field.field.node.event.field_description
- field.field.node.event.field_sessions
- field.field.node.event.field_sponsors
- field.field.node.event.field_type
- field.field.node.event.field_venue
- field.field.node.event.field_website
- node.type.event
module:
- datetime
- link
- path
- text
id: node.event.default
targetEntityType: node
bundle: event
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_date:
type: datetime_default
weight: 3
region: content
settings: { }
third_party_settings: { }
field_description:
type: text_textarea
weight: 8
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_sessions:
type: entity_reference_autocomplete
weight: 6
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_sponsors:
type: entity_reference_autocomplete_tags
weight: 7
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_type:
type: options_select
weight: 4
region: content
settings: { }
third_party_settings: { }
field_venue:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_website:
type: link_default
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View file

@ -15,7 +15,7 @@ mode: default
content: content:
body: body:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 121 weight: -4
region: content region: content
settings: settings:
rows: 9 rows: 9

View file

@ -0,0 +1,106 @@
uuid: 518dd27f-0140-483f-ad57-d7969b5f7d8c
langcode: en
status: true
dependencies:
config:
- field.field.node.session.field_description
- field.field.node.session.field_slides
- field.field.node.session.field_speakers
- field.field.node.session.field_topics
- node.type.session
module:
- file
- path
- text
id: node.session.default
targetEntityType: node
bundle: session
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_description:
type: text_textarea
weight: 3
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_slides:
type: file_generic
weight: 5
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_speakers:
type: entity_reference_autocomplete_tags
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_topics:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,93 @@
uuid: c5c0f029-49ca-4386-9615-1f379835cc06
langcode: en
status: true
dependencies:
config:
- field.field.node.venue.field_additional_information
- field.field.node.venue.field_address
- field.field.node.venue.field_phone
- node.type.venue
module:
- address
- path
- telephone
- text
id: node.venue.default
targetEntityType: node
bundle: venue
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_additional_information:
type: text_textarea
weight: 38
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_address:
type: address_default
weight: 33
region: content
settings:
wrapper_type: fieldset
third_party_settings: { }
field_phone:
type: telephone_default
weight: 37
region: content
settings:
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,32 @@
uuid: 376152c3-f0e3-4581-8601-f3cf8474fe39
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.favorite_quote.field_quote_message
- field.field.paragraph.favorite_quote.field_quote_name
- paragraphs.paragraphs_type.favorite_quote
id: paragraph.favorite_quote.default
targetEntityType: paragraph
bundle: favorite_quote
mode: default
content:
field_quote_message:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_quote_name:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true