From 07d25bf5a1264860d9088e15949b9052a2995f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 23 Oct 2018 01:11:59 -0400 Subject: [PATCH] Remove title/subtitle/image from node view, style in paragraph --- ...tity_view_display.node.case_study.full.yml | 94 +++++++------------ ...y_view_display.paragraph.title.default.yml | 12 +-- 2 files changed, 41 insertions(+), 65 deletions(-) diff --git a/config/sync/core.entity_view_display.node.case_study.full.yml b/config/sync/core.entity_view_display.node.case_study.full.yml index d55efe4..2e6a08f 100644 --- a/config/sync/core.entity_view_display.node.case_study.full.yml +++ b/config/sync/core.entity_view_display.node.case_study.full.yml @@ -19,11 +19,9 @@ dependencies: - field.field.node.case_study.field_summary - field.field.node.case_study.field_technologies - node.type.case_study - - responsive_image.styles.wide module: - ds - entity_reference_revisions - - responsive_image - text - user third_party_settings: @@ -36,23 +34,15 @@ third_party_settings: settings: { } regions: content: - - field_image - - node_title - - field_case_study_subtitle - field_body_paragraph - field_case_study_client - field_case_study_year - field_case_study_status - field_services + - field_technologies - field_case_study_team - field_case_study_partners - field_license - fields: - node_title: - plugin_id: node_title - weight: 1 - label: hidden - formatter: default _core: default_config_hash: N_SusIa1IFu4fIGYNRpaypRg9DZhGSCXmBlKzUUIJi4 id: node.case_study.full @@ -62,7 +52,7 @@ mode: full content: field_body_paragraph: type: entity_reference_revisions_entity_view - weight: 3 + weight: 0 region: content label: visually_hidden settings: @@ -73,75 +63,51 @@ content: ds_limit: '' field_case_study_client: type: text_default - weight: 4 + weight: 1 region: content - label: above + label: inline settings: { } third_party_settings: { } field_case_study_partners: type: text_default - weight: 10 + weight: 7 region: content - label: above + label: inline settings: { } third_party_settings: { } field_case_study_status: type: string - weight: 6 + weight: 3 region: content - label: above - settings: - link_to_entity: false - third_party_settings: { } - field_case_study_subtitle: - type: string - weight: 2 - region: content - label: visually_hidden + label: inline settings: link_to_entity: false third_party_settings: { } field_case_study_team: - type: entity_reference_entity_view - weight: 9 + type: entity_reference_label + weight: 6 region: content - label: above + label: inline settings: - view_mode: default - link: false - third_party_settings: { } + link: true + third_party_settings: + ds: + ds_limit: '' field_case_study_year: type: number_integer - weight: 5 + weight: 2 region: content - label: above + label: inline settings: thousand_separator: '' prefix_suffix: true third_party_settings: { } - field_image: - type: responsive_image - weight: 0 - region: content - label: visually_hidden - settings: - responsive_image_style: wide - image_link: '' - third_party_settings: - ds: - ft: - id: default - settings: - lb: '' - lb-col: false - classes: { } field_license: - type: entity_reference_entity_view - weight: 11 + type: entity_reference_label + weight: 8 region: content label: above settings: - view_mode: default link: false third_party_settings: ds: @@ -152,17 +118,27 @@ content: lb-col: false classes: { } field_services: - type: entity_reference_entity_view - weight: 8 + type: entity_reference_label + weight: 4 region: content - label: above + label: inline settings: - view_mode: default - link: false + link: true + third_party_settings: + ds: + ds_limit: '' + field_technologies: + type: entity_reference_label + weight: 5 + region: content + label: inline + settings: + link: true third_party_settings: { } hidden: body: true + field_case_study_subtitle: true + field_image: true field_meta_tags: true field_summary: true - field_technologies: true links: true diff --git a/config/sync/core.entity_view_display.paragraph.title.default.yml b/config/sync/core.entity_view_display.paragraph.title.default.yml index 53f4f67..ff2aacc 100644 --- a/config/sync/core.entity_view_display.paragraph.title.default.yml +++ b/config/sync/core.entity_view_display.paragraph.title.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.title.field_image - field.field.paragraph.title.field_subtitle - field.field.paragraph.title.field_title + - image.style.max_650x650 - paragraphs.paragraphs_type.title module: - image @@ -17,23 +18,22 @@ mode: default content: field_image: weight: 2 - label: above + label: hidden settings: - image_style: '' - image_link: '' + image_style: max_650x650 third_party_settings: { } - type: image + type: image_url region: content field_subtitle: weight: 1 - label: above + label: hidden settings: { } third_party_settings: { } type: text_default region: content field_title: weight: 0 - label: above + label: hidden settings: { } third_party_settings: { } type: text_default