diff --git a/src/config/sync/core.entity_form_display.paragraph.action.default.yml b/src/config/sync/core.entity_form_display.paragraph.action.default.yml index cd7ea98..ccaf7c7 100644 --- a/src/config/sync/core.entity_form_display.paragraph.action.default.yml +++ b/src/config/sync/core.entity_form_display.paragraph.action.default.yml @@ -4,19 +4,23 @@ status: true dependencies: config: - field.field.paragraph.action.field_audio + - field.field.paragraph.action.field_date - field.field.paragraph.action.field_description - field.field.paragraph.action.field_documents - field.field.paragraph.action.field_images - field.field.paragraph.action.field_liens - field.field.paragraph.action.field_menace_maintien + - field.field.paragraph.action.field_sources - field.field.paragraph.action.field_videos - image.style.thumbnail - paragraphs.paragraphs_type.action module: + - datetime - field_group - file - image - link + - paragraphs - text - video_embed_field third_party_settings: @@ -24,6 +28,7 @@ third_party_settings: group_tabs: children: - group_texte + - group_sources - group_media - group_videos - group_audio @@ -42,6 +47,7 @@ third_party_settings: width_breakpoint: 640 group_texte: children: + - field_date - field_menace_maintien - field_description label: Texte @@ -62,7 +68,7 @@ third_party_settings: label: Images region: content parent_name: group_tabs - weight: 21 + weight: 22 format_type: tab format_settings: classes: '' @@ -77,7 +83,7 @@ third_party_settings: label: Liens region: content parent_name: group_tabs - weight: 25 + weight: 26 format_type: tab format_settings: classes: '' @@ -106,7 +112,7 @@ third_party_settings: label: Documents region: content parent_name: group_tabs - weight: 24 + weight: 25 format_type: tab format_settings: classes: '' @@ -121,7 +127,7 @@ third_party_settings: label: Videos region: content parent_name: group_tabs - weight: 22 + weight: 23 format_type: tab format_settings: classes: '' @@ -136,7 +142,22 @@ third_party_settings: label: Audio region: content parent_name: group_tabs - weight: 23 + weight: 24 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true + group_sources: + children: + - field_sources + label: Sources + region: content + parent_name: group_tabs + weight: 21 format_type: tab format_settings: classes: '' @@ -157,9 +178,15 @@ content: settings: progress_indicator: throbber third_party_settings: { } + field_date: + type: datetime_default + weight: 30 + region: content + settings: { } + third_party_settings: { } field_description: type: text_textarea_with_summary - weight: 2 + weight: 32 region: content settings: rows: 9 @@ -192,10 +219,28 @@ content: third_party_settings: { } field_menace_maintien: type: options_select - weight: 1 + weight: 31 region: content settings: { } third_party_settings: { } + field_sources: + type: paragraphs + weight: 29 + region: content + settings: + title: Paragraphe + title_plural: Paragraphs + edit_mode: open + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: '' + features: + collapse_edit_all: collapse_edit_all + duplicate: duplicate + third_party_settings: { } field_videos: type: video_embed_field_textfield weight: 25 diff --git a/src/config/sync/core.entity_form_display.paragraph.source.default.yml b/src/config/sync/core.entity_form_display.paragraph.source.default.yml new file mode 100644 index 0000000..6250f6c --- /dev/null +++ b/src/config/sync/core.entity_form_display.paragraph.source.default.yml @@ -0,0 +1,214 @@ +uuid: 6ba0a3ec-fd7e-41a6-a290-29a9adbd3407 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.source.field_audio + - field.field.paragraph.source.field_date + - field.field.paragraph.source.field_description + - field.field.paragraph.source.field_documents + - field.field.paragraph.source.field_images + - field.field.paragraph.source.field_liens + - field.field.paragraph.source.field_videos + - image.style.thumbnail + - paragraphs.paragraphs_type.source + module: + - datetime + - field_group + - file + - image + - link + - text + - video_embed_field +third_party_settings: + field_group: + group_tabs: + children: + - group_texte + - group_media + - group_videos + - group_audio + - group_documents + - group_liens + label: Tabs + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + direction: horizontal + width_breakpoint: 640 + group_texte: + children: + - field_date + - field_description + label: Texte + region: content + parent_name: group_tabs + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: open + description: '' + required_fields: true + group_media: + children: + - field_images + label: Images + region: content + parent_name: group_tabs + weight: 21 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true + group_liens: + children: + - field_liens + label: Liens + region: content + parent_name: group_tabs + weight: 25 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true + group_details: + children: { } + label: Details + region: hidden + parent_name: '' + weight: 1 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + open: false + description: '' + required_fields: true + group_documents: + children: + - field_documents + label: Documents + region: content + parent_name: group_tabs + weight: 24 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true + group_videos: + children: + - field_videos + label: Videos + region: content + parent_name: group_tabs + weight: 22 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true + group_audio: + children: + - field_audio + label: Audio + region: content + parent_name: group_tabs + weight: 23 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true +id: paragraph.source.default +targetEntityType: paragraph +bundle: source +mode: default +content: + field_audio: + type: file_generic + weight: 26 + region: content + settings: + progress_indicator: throbber + third_party_settings: { } + field_date: + type: datetime_default + weight: 29 + region: content + settings: { } + third_party_settings: { } + field_description: + type: text_textarea_with_summary + weight: 30 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + field_documents: + type: file_generic + weight: 27 + region: content + settings: + progress_indicator: throbber + third_party_settings: { } + field_images: + type: image_image + weight: 24 + region: content + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + field_liens: + type: link_default + weight: 28 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_menace_maintien: + type: options_select + weight: 1 + region: content + settings: { } + third_party_settings: { } + field_videos: + type: video_embed_field_textfield + weight: 25 + region: content + settings: { } + third_party_settings: { } +hidden: + created: true + status: true diff --git a/src/config/sync/core.entity_view_display.paragraph.action.default.yml b/src/config/sync/core.entity_view_display.paragraph.action.default.yml index e60ad13..aa98b82 100644 --- a/src/config/sync/core.entity_view_display.paragraph.action.default.yml +++ b/src/config/sync/core.entity_view_display.paragraph.action.default.yml @@ -4,14 +4,18 @@ status: true dependencies: config: - field.field.paragraph.action.field_audio + - field.field.paragraph.action.field_date - field.field.paragraph.action.field_description - field.field.paragraph.action.field_documents - field.field.paragraph.action.field_images - field.field.paragraph.action.field_liens - field.field.paragraph.action.field_menace_maintien + - field.field.paragraph.action.field_sources - field.field.paragraph.action.field_videos - paragraphs.paragraphs_type.action module: + - datetime + - entity_reference_revisions - file - image - link @@ -31,6 +35,15 @@ content: third_party_settings: { } weight: 4 region: content + field_date: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 8 + region: content field_description: type: text_default label: above @@ -76,6 +89,15 @@ content: third_party_settings: { } weight: 0 region: content + field_sources: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 7 + region: content field_videos: type: video_embed_field_video label: above diff --git a/src/config/sync/core.entity_view_display.paragraph.source.default.yml b/src/config/sync/core.entity_view_display.paragraph.source.default.yml new file mode 100644 index 0000000..7044fbd --- /dev/null +++ b/src/config/sync/core.entity_view_display.paragraph.source.default.yml @@ -0,0 +1,93 @@ +uuid: 2ad830ca-beb3-4411-8a89-309548f6da60 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.source.field_audio + - field.field.paragraph.source.field_date + - field.field.paragraph.source.field_description + - field.field.paragraph.source.field_documents + - field.field.paragraph.source.field_images + - field.field.paragraph.source.field_liens + - field.field.paragraph.source.field_videos + - paragraphs.paragraphs_type.source + module: + - datetime + - file + - image + - link + - text + - video_embed_field +id: paragraph.source.default +targetEntityType: paragraph +bundle: source +mode: default +content: + field_audio: + type: file_default + label: above + settings: + use_description_as_link_text: true + third_party_settings: { } + weight: 2 + region: content + field_date: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 6 + region: content + field_description: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_documents: + type: file_default + label: above + settings: + use_description_as_link_text: true + third_party_settings: { } + weight: 5 + region: content + field_images: + type: image + label: above + settings: + image_link: '' + image_style: '' + image_loading: + attribute: lazy + third_party_settings: { } + weight: 3 + region: content + field_liens: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 1 + region: content + field_videos: + type: video_embed_field_video + label: above + settings: + autoplay: true + responsive: true + width: 854 + height: 480 + third_party_settings: { } + weight: 4 + region: content +hidden: + search_api_excerpt: true diff --git a/src/config/sync/field.field.paragraph.action.field_date.yml b/src/config/sync/field.field.paragraph.action.field_date.yml new file mode 100644 index 0000000..c0b5fb7 --- /dev/null +++ b/src/config/sync/field.field.paragraph.action.field_date.yml @@ -0,0 +1,24 @@ +uuid: 3730b1fa-dadc-424e-985a-fb57a82ca9fc +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date + - paragraphs.paragraphs_type.action + module: + - datetime +id: paragraph.action.field_date +field_name: field_date +entity_type: paragraph +bundle: action +label: Date +description: '' +required: false +translatable: false +default_value: + - + default_date_type: now + default_date: now +default_value_callback: '' +settings: { } +field_type: datetime diff --git a/src/config/sync/field.field.paragraph.action.field_sources.yml b/src/config/sync/field.field.paragraph.action.field_sources.yml new file mode 100644 index 0000000..8647ddf --- /dev/null +++ b/src/config/sync/field.field.paragraph.action.field_sources.yml @@ -0,0 +1,37 @@ +uuid: cc099b85-13f1-4532-a60c-574c2898323d +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_sources + - paragraphs.paragraphs_type.action + - paragraphs.paragraphs_type.source + module: + - entity_reference_revisions +id: paragraph.action.field_sources +field_name: field_sources +entity_type: paragraph +bundle: action +label: Sources +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + source: source + negate: 0 + target_bundles_drag_drop: + action: + weight: 4 + enabled: false + entite_concernement: + weight: 5 + enabled: false + source: + weight: 6 + enabled: true +field_type: entity_reference_revisions diff --git a/src/config/sync/field.field.paragraph.source.field_audio.yml b/src/config/sync/field.field.paragraph.source.field_audio.yml new file mode 100644 index 0000000..a8b6467 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_audio.yml @@ -0,0 +1,27 @@ +uuid: c38437f1-91fd-4cda-9a45-f71f2d436a3f +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_audio + - paragraphs.paragraphs_type.source + module: + - file +id: paragraph.source.field_audio +field_name: field_audio +entity_type: paragraph +bundle: source +label: Audio +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:file' + handler_settings: { } + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: ogg + max_filesize: '' + description_field: true +field_type: file diff --git a/src/config/sync/field.field.paragraph.source.field_date.yml b/src/config/sync/field.field.paragraph.source.field_date.yml new file mode 100644 index 0000000..6f91c92 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_date.yml @@ -0,0 +1,21 @@ +uuid: 5b0587c0-8836-4557-b27e-1594898a369e +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date + - paragraphs.paragraphs_type.source + module: + - datetime +id: paragraph.source.field_date +field_name: field_date +entity_type: paragraph +bundle: source +label: Date +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: datetime diff --git a/src/config/sync/field.field.paragraph.source.field_description.yml b/src/config/sync/field.field.paragraph.source.field_description.yml new file mode 100644 index 0000000..5f27906 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_description.yml @@ -0,0 +1,23 @@ +uuid: b32333da-0035-4dec-9c98-b16d419fcbee +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_description + - paragraphs.paragraphs_type.source + module: + - text +id: paragraph.source.field_description +field_name: field_description +entity_type: paragraph +bundle: source +label: Description +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + display_summary: true + required_summary: false +field_type: text_with_summary diff --git a/src/config/sync/field.field.paragraph.source.field_documents.yml b/src/config/sync/field.field.paragraph.source.field_documents.yml new file mode 100644 index 0000000..3156be7 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_documents.yml @@ -0,0 +1,27 @@ +uuid: da414855-8100-405e-a87d-34d901ca5cac +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_documents + - paragraphs.paragraphs_type.source + module: + - file +id: paragraph.source.field_documents +field_name: field_documents +entity_type: paragraph +bundle: source +label: Documents +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:file' + handler_settings: { } + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'txt pdf doc docx obs xls' + max_filesize: '' + description_field: true +field_type: file diff --git a/src/config/sync/field.field.paragraph.source.field_images.yml b/src/config/sync/field.field.paragraph.source.field_images.yml new file mode 100644 index 0000000..036f861 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_images.yml @@ -0,0 +1,38 @@ +uuid: c988906f-c350-42dd-87ec-d24068ab76aa +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_images + - paragraphs.paragraphs_type.source + module: + - image +id: paragraph.source.field_images +field_name: field_images +entity_type: paragraph +bundle: source +label: Images +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:file' + handler_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: false + title_field: true + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null +field_type: image diff --git a/src/config/sync/field.field.paragraph.source.field_liens.yml b/src/config/sync/field.field.paragraph.source.field_liens.yml new file mode 100644 index 0000000..3b71567 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_liens.yml @@ -0,0 +1,23 @@ +uuid: bdc03627-4ac7-420e-816e-5431f1632e48 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_liens + - paragraphs.paragraphs_type.source + module: + - link +id: paragraph.source.field_liens +field_name: field_liens +entity_type: paragraph +bundle: source +label: Liens +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 1 + link_type: 16 +field_type: link diff --git a/src/config/sync/field.field.paragraph.source.field_videos.yml b/src/config/sync/field.field.paragraph.source.field_videos.yml new file mode 100644 index 0000000..73c0cc8 --- /dev/null +++ b/src/config/sync/field.field.paragraph.source.field_videos.yml @@ -0,0 +1,25 @@ +uuid: 6f79d999-e3d9-46e6-a979-6261c23e4b05 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_videos + - paragraphs.paragraphs_type.source + module: + - video_embed_field +id: paragraph.source.field_videos +field_name: field_videos +entity_type: paragraph +bundle: source +label: Videos +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_providers: + vimeo: vimeo + youtube: youtube + youtube_playlist: '0' +field_type: video_embed_field diff --git a/src/config/sync/field.storage.paragraph.field_date.yml b/src/config/sync/field.storage.paragraph.field_date.yml new file mode 100644 index 0000000..56e2d03 --- /dev/null +++ b/src/config/sync/field.storage.paragraph.field_date.yml @@ -0,0 +1,20 @@ +uuid: ad914604-4d32-408e-ab0f-e6b734e66180 +langcode: fr +status: true +dependencies: + module: + - datetime + - paragraphs +id: paragraph.field_date +field_name: field_date +entity_type: paragraph +type: datetime +settings: + datetime_type: date +module: datetime +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/src/config/sync/field.storage.paragraph.field_sources.yml b/src/config/sync/field.storage.paragraph.field_sources.yml new file mode 100644 index 0000000..547cb9a --- /dev/null +++ b/src/config/sync/field.storage.paragraph.field_sources.yml @@ -0,0 +1,20 @@ +uuid: 7003d1b4-29e7-4200-9890-343b4bba3363 +langcode: fr +status: true +dependencies: + module: + - entity_reference_revisions + - paragraphs +id: paragraph.field_sources +field_name: field_sources +entity_type: paragraph +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/src/config/sync/paragraphs.paragraphs_type.source.yml b/src/config/sync/paragraphs.paragraphs_type.source.yml new file mode 100644 index 0000000..ccd1992 --- /dev/null +++ b/src/config/sync/paragraphs.paragraphs_type.source.yml @@ -0,0 +1,11 @@ +uuid: e41328f0-63e5-4fe4-9722-9e32b6f8fc33 +langcode: fr +status: true +dependencies: { } +id: source +label: source +icon_uuid: null +icon_default: null +description: 'action''s source' +save_empty: false +behavior_plugins: { }