From fc866785db1de11c07d508d1e5323e2fde48f51f Mon Sep 17 00:00:00 2001 From: Mauricio Dinarte Date: Wed, 4 Dec 2024 10:12:12 -0600 Subject: [PATCH] Add upgrade_d7_field_instance_widget_settings configuration migration Copied from ref_migrations folder --- ...tity_form_display.node.article.default.yml | 15 +- ...entity_form_display.node.event.default.yml | 133 ++++++++++++++++++ ....entity_form_display.node.page.default.yml | 2 +- ...tity_form_display.node.session.default.yml | 106 ++++++++++++++ ...entity_form_display.node.venue.default.yml | 93 ++++++++++++ ...splay.paragraph.favorite_quote.default.yml | 32 +++++ 6 files changed, 377 insertions(+), 4 deletions(-) create mode 100644 drupal10/config/core.entity_form_display.node.event.default.yml create mode 100644 drupal10/config/core.entity_form_display.node.session.default.yml create mode 100644 drupal10/config/core.entity_form_display.node.venue.default.yml create mode 100644 drupal10/config/core.entity_form_display.paragraph.favorite_quote.default.yml diff --git a/drupal10/config/core.entity_form_display.node.article.default.yml b/drupal10/config/core.entity_form_display.node.article.default.yml index 103c550..c4e875d 100644 --- a/drupal10/config/core.entity_form_display.node.article.default.yml +++ b/drupal10/config/core.entity_form_display.node.article.default.yml @@ -16,7 +16,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 121 + weight: -4 region: content settings: rows: 9 @@ -30,6 +30,16 @@ content: region: content 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: type: path weight: 30 @@ -75,5 +85,4 @@ content: size: 60 placeholder: '' third_party_settings: { } -hidden: - field_tags: true +hidden: { } diff --git a/drupal10/config/core.entity_form_display.node.event.default.yml b/drupal10/config/core.entity_form_display.node.event.default.yml new file mode 100644 index 0000000..7cb39b9 --- /dev/null +++ b/drupal10/config/core.entity_form_display.node.event.default.yml @@ -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: { } diff --git a/drupal10/config/core.entity_form_display.node.page.default.yml b/drupal10/config/core.entity_form_display.node.page.default.yml index 48f7bb0..6376bf0 100644 --- a/drupal10/config/core.entity_form_display.node.page.default.yml +++ b/drupal10/config/core.entity_form_display.node.page.default.yml @@ -15,7 +15,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 121 + weight: -4 region: content settings: rows: 9 diff --git a/drupal10/config/core.entity_form_display.node.session.default.yml b/drupal10/config/core.entity_form_display.node.session.default.yml new file mode 100644 index 0000000..104db8a --- /dev/null +++ b/drupal10/config/core.entity_form_display.node.session.default.yml @@ -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: { } diff --git a/drupal10/config/core.entity_form_display.node.venue.default.yml b/drupal10/config/core.entity_form_display.node.venue.default.yml new file mode 100644 index 0000000..dad372b --- /dev/null +++ b/drupal10/config/core.entity_form_display.node.venue.default.yml @@ -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: { } diff --git a/drupal10/config/core.entity_form_display.paragraph.favorite_quote.default.yml b/drupal10/config/core.entity_form_display.paragraph.favorite_quote.default.yml new file mode 100644 index 0000000..8b8db94 --- /dev/null +++ b/drupal10/config/core.entity_form_display.paragraph.favorite_quote.default.yml @@ -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