From 724e4c6d3f2855fd1f8c2ce58d28146b1b45fc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 29 Sep 2019 13:37:15 -0400 Subject: [PATCH] Unrequire and remove non-paragraph item listing from collection Ref #43 --- ...y_form_display.node.collection.default.yml | 34 +++++++------------ ...node.collection.field_collection_items.yml | 2 +- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/config/sync/core.entity_form_display.node.collection.default.yml b/config/sync/core.entity_form_display.node.collection.default.yml index fe385f4..c7fb5c1 100644 --- a/config/sync/core.entity_form_display.node.collection.default.yml +++ b/config/sync/core.entity_form_display.node.collection.default.yml @@ -32,14 +32,14 @@ bundle: collection mode: default content: comment: - weight: 26 + weight: 16 settings: { } third_party_settings: { } type: comment_default region: content created: type: datetime_timestamp - weight: 13 + weight: 12 region: content settings: { } third_party_settings: { } @@ -54,7 +54,7 @@ content: region: content field_body_paragraph: type: entity_reference_paragraphs - weight: 6 + weight: 5 region: content settings: title: Paragraph @@ -64,15 +64,6 @@ content: form_display_mode: default default_paragraph_type: _none third_party_settings: { } - field_collection_items: - weight: 5 - settings: - match_operator: CONTAINS - size: 60 - placeholder: '' - third_party_settings: { } - type: entity_reference_autocomplete - region: content field_collection_type: weight: 1 settings: { } @@ -88,7 +79,7 @@ content: type: image_image region: content field_meta_tags: - weight: 10 + weight: 9 settings: { } third_party_settings: { } type: metatag_firehose @@ -102,7 +93,7 @@ content: type: text_textarea region: content field_tags: - weight: 8 + weight: 7 settings: match_operator: CONTAINS size: 60 @@ -111,7 +102,7 @@ content: type: entity_reference_autocomplete region: content field_topics: - weight: 7 + weight: 6 settings: force_deepest: '1' parent: '0' @@ -121,7 +112,7 @@ content: region: content path: type: path - weight: 11 + weight: 10 region: content settings: { } third_party_settings: { } @@ -129,21 +120,21 @@ content: type: boolean_checkbox settings: display_label: true - weight: 15 + weight: 14 region: content third_party_settings: { } status: type: boolean_checkbox settings: display_label: true - weight: 16 + weight: 15 region: content third_party_settings: { } sticky: type: boolean_checkbox settings: display_label: true - weight: 14 + weight: 13 region: content third_party_settings: { } title: @@ -156,7 +147,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 9 + weight: 8 settings: match_operator: CONTAINS size: 60 @@ -164,9 +155,10 @@ content: region: content third_party_settings: { } url_redirects: - weight: 12 + weight: 11 region: content settings: { } third_party_settings: { } hidden: body: true + field_collection_items: true diff --git a/config/sync/field.field.node.collection.field_collection_items.yml b/config/sync/field.field.node.collection.field_collection_items.yml index 3fda3fe..3ed9585 100644 --- a/config/sync/field.field.node.collection.field_collection_items.yml +++ b/config/sync/field.field.node.collection.field_collection_items.yml @@ -13,7 +13,7 @@ entity_type: node bundle: collection label: Items description: 'Select any other content on the site to display as a list of teasers by typing words from the title and looking for the autocompletion of the content you want in the collection. You can change the order after adding each item.' -required: true +required: false translatable: false default_value: { } default_value_callback: ''