From f72f24277ac668fee9537e02ad84c337a0a58e01 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Fri, 19 Jul 2019 11:56:23 -0500 Subject: [PATCH] Remove the "default content" module --- ...hot.config_sync.module.default_content.yml | 11 - ....entity_form_display.user.user.default.yml | 6 + config/sync/core.extension.yml | 1 - config/sync/search_api.index.article.yml | 220 +++++++++--------- config/sync/search_api.index.people.yml | 186 +++++++-------- 5 files changed, 209 insertions(+), 215 deletions(-) delete mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.default_content.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.default_content.yml b/config/sync/config_snapshot.snapshot.config_sync.module.default_content.yml deleted file mode 100644 index c93e2ae..0000000 --- a/config/sync/config_snapshot.snapshot.config_sync.module.default_content.yml +++ /dev/null @@ -1,11 +0,0 @@ -uuid: df18d61a-8217-49b7-a675-b61db77e3224 -langcode: en -status: true -dependencies: - module: - - default_content -id: config_sync.module.default_content -snapshotSet: config_sync -extensionType: module -extensionName: default_content -items: { } diff --git a/config/sync/core.entity_form_display.user.user.default.yml b/config/sync/core.entity_form_display.user.user.default.yml index 0c136ac..32d4189 100644 --- a/config/sync/core.entity_form_display.user.user.default.yml +++ b/config/sync/core.entity_form_display.user.user.default.yml @@ -36,6 +36,12 @@ content: settings: { } third_party_settings: { } region: content + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } timezone: weight: 6 settings: { } diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index a49f336..688d688 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -30,7 +30,6 @@ module: ctools: 0 datetime: 0 dblog: 0 - default_content: 0 drutopia_article: 0 drutopia_comment: 0 drutopia_core: 0 diff --git a/config/sync/search_api.index.article.yml b/config/sync/search_api.index.article.yml index 53df1f2..a09d506 100644 --- a/config/sync/search_api.index.article.yml +++ b/config/sync/search_api.index.article.yml @@ -21,87 +21,16 @@ name: Article description: 'An index for the article content type.' read_only: false field_settings: - rendered_item: - label: 'Rendered HTML output' - property_path: rendered_item - type: text - configuration: - roles: - anonymous: anonymous - view_mode: - 'entity:node': - article: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string - indexed_locked: true - type_locked: true - hidden: true - title: - label: Title - datasource_id: 'entity:node' - property_path: title - type: text - boost: !!float 8 - field_tags: - label: Tags - datasource_id: 'entity:node' - property_path: field_tags - type: integer - dependencies: - config: - - field.storage.node.field_tags - created: - label: 'Authored on' - datasource_id: 'entity:node' - property_path: created - type: date - uid: - label: 'Authored by' - datasource_id: 'entity:node' - property_path: uid - type: integer - indexed_locked: true - type_locked: true changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date - field_summary: - label: Summary + created: + label: 'Authored on' datasource_id: 'entity:node' - property_path: field_summary - type: text - dependencies: - config: - - field.storage.node.field_summary - status: - label: Published - datasource_id: 'entity:node' - property_path: status - type: boolean - indexed_locked: true - type_locked: true - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - type: string - dependencies: - module: - - user - sticky: - label: 'Sticky at top of lists' - datasource_id: 'entity:node' - property_path: sticky - type: boolean - promote: - label: 'Promoted to front page' - datasource_id: 'entity:node' - property_path: promote - type: boolean + property_path: created + type: date field_article_type: label: 'Article type' datasource_id: 'entity:node' @@ -118,6 +47,22 @@ field_settings: dependencies: config: - field.storage.node.field_authors + field_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + field_tags: + label: Tags + datasource_id: 'entity:node' + property_path: field_tags + type: integer + dependencies: + config: + - field.storage.node.field_tags field_topics: label: Topics datasource_id: 'entity:node' @@ -126,6 +71,61 @@ field_settings: dependencies: config: - field.storage.node.field_topics + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + rendered_item: + label: 'Rendered HTML output' + property_path: rendered_item + type: text + configuration: + roles: + anonymous: anonymous + view_mode: + 'entity:node': + article: search_index + status: + label: Published + datasource_id: 'entity:node' + property_path: status + type: boolean + indexed_locked: true + type_locked: true + sticky: + label: 'Sticky at top of lists' + datasource_id: 'entity:node' + property_path: sticky + type: boolean + title: + label: Title + datasource_id: 'entity:node' + property_path: title + type: text + boost: !!float 8 + uid: + label: 'Authored by' + datasource_id: 'entity:node' + property_path: uid + type: integer + indexed_locked: true + type_locked: true datasource_settings: 'entity:node': bundles: @@ -136,28 +136,45 @@ datasource_settings: default: true selected: { } processor_settings: - rendered_item: { } add_url: { } aggregated_field: { } + content_access: + weights: + preprocess_query: -45 entity_status: { } - tokenizer: + html_filter: all_fields: false fields: + - field_summary + - rendered_item + title: true + alt: true + tags: + b: 2 + h1: 5 + h2: 3 + h3: 2 + strong: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + ignorecase: + all_fields: false + fields: + - field_summary + - name - rendered_item - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' weights: - preprocess_index: -44 - preprocess_query: -46 + preprocess_index: -49 + preprocess_query: -49 + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -197,45 +214,28 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 - content_access: - weights: - preprocess_query: -45 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.people.yml b/config/sync/search_api.index.people.yml index 3f54313..6ea4d73 100644 --- a/config/sync/search_api.index.people.yml +++ b/config/sync/search_api.index.people.yml @@ -18,6 +18,52 @@ name: People description: 'An index for the people content type.' read_only: false field_settings: + changed: + label: Changed + datasource_id: 'entity:node' + property_path: changed + type: date + created: + label: 'Authored on' + datasource_id: 'entity:node' + property_path: created + type: date + field_people_type: + label: 'People type' + datasource_id: 'entity:node' + property_path: field_people_type + type: integer + dependencies: + config: + - field.storage.node.field_people_type + field_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean rendered_item: label: 'Rendered HTML output' property_path: rendered_item @@ -28,44 +74,6 @@ field_settings: view_mode: 'entity:node': people: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string - indexed_locked: true - type_locked: true - hidden: true - title: - label: Title - datasource_id: 'entity:node' - property_path: title - type: text - boost: !!float 8 - created: - label: 'Authored on' - datasource_id: 'entity:node' - property_path: created - type: date - uid: - label: 'Authored by' - datasource_id: 'entity:node' - property_path: uid - type: integer - indexed_locked: true - type_locked: true - changed: - label: Changed - datasource_id: 'entity:node' - property_path: changed - type: date - field_summary: - label: Summary - datasource_id: 'entity:node' - property_path: field_summary - type: text - dependencies: - config: - - field.storage.node.field_summary status: label: Published datasource_id: 'entity:node' @@ -73,32 +81,24 @@ field_settings: type: boolean indexed_locked: true type_locked: true - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - type: string - dependencies: - module: - - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean - promote: - label: 'Promoted to front page' + title: + label: Title datasource_id: 'entity:node' - property_path: promote - type: boolean - field_people_type: - label: 'People type' + property_path: title + type: text + boost: !!float 8 + uid: + label: 'Authored by' datasource_id: 'entity:node' - property_path: field_people_type + property_path: uid type: integer - dependencies: - config: - - field.storage.node.field_people_type + indexed_locked: true + type_locked: true datasource_settings: 'entity:node': bundles: @@ -110,25 +110,44 @@ datasource_settings: selected: { } processor_settings: add_url: { } - tokenizer: + aggregated_field: { } + content_access: + weights: + preprocess_query: -45 + entity_status: { } + html_filter: all_fields: false fields: + - field_summary + - rendered_item + title: true + alt: true + tags: + b: 2 + h1: 5 + h2: 3 + h3: 2 + strong: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + ignorecase: + all_fields: false + fields: + - field_summary + - name - rendered_item - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' weights: - preprocess_index: -44 - preprocess_query: -46 - aggregated_field: { } + preprocess_index: -49 + preprocess_query: -49 + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -168,47 +187,28 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - rendered_item: { } - entity_status: { } - content_access: - weights: - preprocess_query: -45 - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo