From bdf05a1d65988853a006b353359885b834e71ccf Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 27 Nov 2023 11:33:36 +0100 Subject: [PATCH] mes operations, block phase 1. #2431 --- config/sync/block.block.reha_phase1..yml | 31 ++++++++++++++ config/sync/block_content.type.text.yml | 8 ++++ .../sync/content_as_config.block_content.yml | 15 ++++++- ...orm_display.block_content.text.default.yml | 40 +++++++++++++++++++ ...isplay.block_content.logo_link.default.yml | 3 +- ...iew_display.block_content.text.default.yml | 24 +++++++++++ .../field.field.block_content.text.body.yml | 24 +++++++++++ ...ge.content_settings.block_content.text.yml | 11 +++++ 8 files changed, 153 insertions(+), 3 deletions(-) create mode 100644 config/sync/block.block.reha_phase1..yml create mode 100644 config/sync/block_content.type.text.yml create mode 100644 config/sync/core.entity_form_display.block_content.text.default.yml create mode 100644 config/sync/core.entity_view_display.block_content.text.default.yml create mode 100644 config/sync/field.field.block_content.text.body.yml create mode 100644 config/sync/language.content_settings.block_content.text.yml diff --git a/config/sync/block.block.reha_phase1..yml b/config/sync/block.block.reha_phase1..yml new file mode 100644 index 0000000..0f3d893 --- /dev/null +++ b/config/sync/block.block.reha_phase1..yml @@ -0,0 +1,31 @@ +uuid: 22a905f7-e017-4bb2-959d-4e0773439650 +langcode: fr +status: true +dependencies: + content: + - 'block_content:text:e05f593a-38ab-4dba-ad1c-9ae23c1222a9' + module: + - block_class + - block_content + - system + theme: + - reha +id: reha_phase1. +theme: reha +region: sidebar_first +weight: 0 +provider: null +plugin: 'block_content:e05f593a-38ab-4dba-ad1c-9ae23c1222a9' +settings: + id: 'block_content:e05f593a-38ab-4dba-ad1c-9ae23c1222a9' + label: 'Phase 1.' + label_display: visible + provider: block_content + status: true + info: '' + view_mode: full +visibility: + request_path: + id: request_path + negate: true + pages: '' diff --git a/config/sync/block_content.type.text.yml b/config/sync/block_content.type.text.yml new file mode 100644 index 0000000..05be4c7 --- /dev/null +++ b/config/sync/block_content.type.text.yml @@ -0,0 +1,8 @@ +uuid: 668f7f96-b481-41a2-9eca-05dba6695a93 +langcode: fr +status: true +dependencies: { } +id: text +label: text +revision: 0 +description: '' diff --git a/config/sync/content_as_config.block_content.yml b/config/sync/content_as_config.block_content.yml index 49f3562..b876126 100644 --- a/config/sync/content_as_config.block_content.yml +++ b/config/sync/content_as_config.block_content.yml @@ -28,7 +28,7 @@ fields: field_lien: - - uri: 'http://reha.figli.io' + uri: 'internal:/' title: '' options: { } field_logo: @@ -129,3 +129,16 @@ bc48e271-75cf-4c3f-a4aa-ecc3c573c060: uri: 'internal:/user/register?destination=/node/add/operation' title: 'Proposer un site' options: { } +e05f593a-38ab-4dba-ad1c-9ae23c1222a9: + uuid: e05f593a-38ab-4dba-ad1c-9ae23c1222a9 + id: '13' + info: 'Phase 1.' + langcode: fr + type: text + reusable: '1' + fields: + body: + - + value: "

Appel à candidatures d'opérations

" + summary: '' + format: wysiwyg diff --git a/config/sync/core.entity_form_display.block_content.text.default.yml b/config/sync/core.entity_form_display.block_content.text.default.yml new file mode 100644 index 0000000..d60b3b9 --- /dev/null +++ b/config/sync/core.entity_form_display.block_content.text.default.yml @@ -0,0 +1,40 @@ +uuid: 011b248b-cacc-4bd1-9079-7e6f6e07538d +langcode: fr +status: true +dependencies: + config: + - block_content.type.text + - field.field.block_content.text.body + module: + - text +id: block_content.text.default +targetEntityType: block_content +bundle: text +mode: default +content: + body: + type: text_textarea_with_summary + weight: 26 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + info: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.block_content.logo_link.default.yml b/config/sync/core.entity_view_display.block_content.logo_link.default.yml index 0f7a7a4..6fc406b 100644 --- a/config/sync/core.entity_view_display.block_content.logo_link.default.yml +++ b/config/sync/core.entity_view_display.block_content.logo_link.default.yml @@ -28,8 +28,7 @@ content: linked: '1' type: field destination: field_lien - advanced: - target: _blank + advanced: { } token: '' weight: 0 region: content diff --git a/config/sync/core.entity_view_display.block_content.text.default.yml b/config/sync/core.entity_view_display.block_content.text.default.yml new file mode 100644 index 0000000..7e9bf50 --- /dev/null +++ b/config/sync/core.entity_view_display.block_content.text.default.yml @@ -0,0 +1,24 @@ +uuid: 8931ece9-f12b-4379-9d47-4b97f09743dd +langcode: fr +status: true +dependencies: + config: + - block_content.type.text + - field.field.block_content.text.body + module: + - text +id: block_content.text.default +targetEntityType: block_content +bundle: text +mode: default +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + langcode: true + search_api_excerpt: true diff --git a/config/sync/field.field.block_content.text.body.yml b/config/sync/field.field.block_content.text.body.yml new file mode 100644 index 0000000..00e7c8a --- /dev/null +++ b/config/sync/field.field.block_content.text.body.yml @@ -0,0 +1,24 @@ +uuid: 62a7a4e5-bfd9-4df5-b89a-12d2b05c7e33 +langcode: fr +status: true +dependencies: + config: + - block_content.type.text + - field.storage.block_content.body + module: + - text +id: block_content.text.body +field_name: body +entity_type: block_content +bundle: text +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: false + required_summary: false + allowed_formats: { } +field_type: text_with_summary diff --git a/config/sync/language.content_settings.block_content.text.yml b/config/sync/language.content_settings.block_content.text.yml new file mode 100644 index 0000000..084e457 --- /dev/null +++ b/config/sync/language.content_settings.block_content.text.yml @@ -0,0 +1,11 @@ +uuid: 05cc5f75-50f7-4977-8356-86f79f71d87a +langcode: fr +status: true +dependencies: + config: + - block_content.type.text +id: block_content.text +target_entity_type_id: block_content +target_bundle: text +default_langcode: site_default +language_alterable: false