From 58a2685bc9f954fb944174a2c20bad2377b14259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 18 Nov 2018 19:44:17 -0500 Subject: [PATCH] Finish configuring quotation with image paragraph --- ...paragraph.quotation_with_image.default.yml | 11 ++++++ ...paragraph.quotation_with_image.default.yml | 14 ++++++- ...graph.quotation_with_image.field_image.yml | 38 +++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 config/sync/field.field.paragraph.quotation_with_image.field_image.yml diff --git a/config/sync/core.entity_form_display.paragraph.quotation_with_image.default.yml b/config/sync/core.entity_form_display.paragraph.quotation_with_image.default.yml index c0800fc..911861d 100644 --- a/config/sync/core.entity_form_display.paragraph.quotation_with_image.default.yml +++ b/config/sync/core.entity_form_display.paragraph.quotation_with_image.default.yml @@ -3,16 +3,27 @@ langcode: en status: true dependencies: config: + - field.field.paragraph.quotation_with_image.field_image - field.field.paragraph.quotation_with_image.field_quotation + - image.style.thumbnail - paragraphs.paragraphs_type.quotation_with_image module: - allowed_formats + - image - text id: paragraph.quotation_with_image.default targetEntityType: paragraph bundle: quotation_with_image mode: default content: + field_image: + weight: 1 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content field_quotation: weight: 0 settings: diff --git a/config/sync/core.entity_view_display.paragraph.quotation_with_image.default.yml b/config/sync/core.entity_view_display.paragraph.quotation_with_image.default.yml index 584fe8b..03fbdaf 100644 --- a/config/sync/core.entity_view_display.paragraph.quotation_with_image.default.yml +++ b/config/sync/core.entity_view_display.paragraph.quotation_with_image.default.yml @@ -3,18 +3,30 @@ langcode: en status: true dependencies: config: + - field.field.paragraph.quotation_with_image.field_image - field.field.paragraph.quotation_with_image.field_quotation + - image.style.max_650x650 - paragraphs.paragraphs_type.quotation_with_image module: + - image - text id: paragraph.quotation_with_image.default targetEntityType: paragraph bundle: quotation_with_image mode: default content: + field_image: + weight: 1 + label: hidden + settings: + image_style: max_650x650 + image_link: '' + third_party_settings: { } + type: image + region: content field_quotation: weight: 0 - label: above + label: hidden settings: { } third_party_settings: { } type: text_default diff --git a/config/sync/field.field.paragraph.quotation_with_image.field_image.yml b/config/sync/field.field.paragraph.quotation_with_image.field_image.yml new file mode 100644 index 0000000..6f04121 --- /dev/null +++ b/config/sync/field.field.paragraph.quotation_with_image.field_image.yml @@ -0,0 +1,38 @@ +uuid: 920d3a87-d31f-43d6-af89-2b846807402c +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_image + - paragraphs.paragraphs_type.quotation_with_image + module: + - image +id: paragraph.quotation_with_image.field_image +field_name: field_image +entity_type: paragraph +bundle: quotation_with_image +label: Image +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: true + alt_field_required: true + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + handler: 'default:file' + handler_settings: { } +field_type: image