From f44ab627239c86c4ceecb54ea7402e2ffc5f0ba8 Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 27 Jan 2025 10:00:33 +0100 Subject: [PATCH] intro partenaires --- config/sync/config_pages.type.partenaires.yml | 17 +++++++++++++ ...splay.config_pages.partenaires.default.yml | 24 +++++++++++++++++++ ...splay.config_pages.partenaires.default.yml | 23 ++++++++++++++++++ ..._display.config_pages.partenaires.full.yml | 24 +++++++++++++++++++ ...d.config_pages.partenaires.field_intro.yml | 24 +++++++++++++++++++ config/sync/user.role.admin.yml | 1 + config/sync/user.role.anonymous.yml | 1 + config/sync/user.role.authenticated.yml | 1 + config/sync/user.role.editor.yml | 1 + config/sync/views.view.partenaires.yml | 17 ++++++++++++- 10 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 config/sync/config_pages.type.partenaires.yml create mode 100644 config/sync/core.entity_form_display.config_pages.partenaires.default.yml create mode 100644 config/sync/core.entity_view_display.config_pages.partenaires.default.yml create mode 100644 config/sync/core.entity_view_display.config_pages.partenaires.full.yml create mode 100644 config/sync/field.field.config_pages.partenaires.field_intro.yml diff --git a/config/sync/config_pages.type.partenaires.yml b/config/sync/config_pages.type.partenaires.yml new file mode 100644 index 0000000..1be5704 --- /dev/null +++ b/config/sync/config_pages.type.partenaires.yml @@ -0,0 +1,17 @@ +uuid: 5d4ed356-2db2-4817-b5cd-ac0d7df3cd20 +langcode: fr +status: true +dependencies: { } +id: partenaires +label: Partenaires +token: true +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /admin/content/partenaires + weight: 0 + description: '' diff --git a/config/sync/core.entity_form_display.config_pages.partenaires.default.yml b/config/sync/core.entity_form_display.config_pages.partenaires.default.yml new file mode 100644 index 0000000..caa2735 --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.partenaires.default.yml @@ -0,0 +1,24 @@ +uuid: ac8b36dd-5535-49aa-8acb-cf54fc1af148 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.partenaires + - field.field.config_pages.partenaires.field_intro + module: + - text +id: config_pages.partenaires.default +targetEntityType: config_pages +bundle: partenaires +mode: default +content: + field_intro: + type: text_textarea + weight: 0 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } +hidden: + label: true diff --git a/config/sync/core.entity_view_display.config_pages.partenaires.default.yml b/config/sync/core.entity_view_display.config_pages.partenaires.default.yml new file mode 100644 index 0000000..8b3530f --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.partenaires.default.yml @@ -0,0 +1,23 @@ +uuid: 428832a7-10f4-4ebb-a75c-0db9fc7c6d2b +langcode: fr +status: true +dependencies: + config: + - config_pages.type.partenaires + - field.field.config_pages.partenaires.field_intro + module: + - text +id: config_pages.partenaires.default +targetEntityType: config_pages +bundle: partenaires +mode: default +content: + field_intro: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.config_pages.partenaires.full.yml b/config/sync/core.entity_view_display.config_pages.partenaires.full.yml new file mode 100644 index 0000000..1eeb698 --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.partenaires.full.yml @@ -0,0 +1,24 @@ +uuid: 8bd188c3-a191-4967-a4eb-101f4d0b5653 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.partenaires + - core.entity_view_mode.config_pages.full + - field.field.config_pages.partenaires.field_intro + module: + - text +id: config_pages.partenaires.full +targetEntityType: config_pages +bundle: partenaires +mode: full +content: + field_intro: + type: text_default + label: visually_hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/field.field.config_pages.partenaires.field_intro.yml b/config/sync/field.field.config_pages.partenaires.field_intro.yml new file mode 100644 index 0000000..a3b3b23 --- /dev/null +++ b/config/sync/field.field.config_pages.partenaires.field_intro.yml @@ -0,0 +1,24 @@ +uuid: a602e5f1-b45b-41d2-bfa6-abf8034cc3f9 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.partenaires + - field.storage.config_pages.field_intro + - filter.format.wysiwyg + module: + - text +id: config_pages.partenaires.field_intro +field_name: field_intro +entity_type: config_pages +bundle: partenaires +label: Intro +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 857d57f..b0d059c 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -67,6 +67,7 @@ permissions: - 'edit own actualite content' - 'edit own offre content' - 'edit own projet content' + - 'edit partenaires config page entity' - 'edit terms in type_dactus' - 'execute entity:save_action menu_link_content' - 'execute entity:save_action node' diff --git a/config/sync/user.role.anonymous.yml b/config/sync/user.role.anonymous.yml index 7cfd20e..7e1a898 100644 --- a/config/sync/user.role.anonymous.yml +++ b/config/sync/user.role.anonymous.yml @@ -21,3 +21,4 @@ permissions: - 'view faq page' - 'view les_projets config page entity' - 'view meetup config page entity' + - 'view partenaires config page entity' diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index 4a0b962..2417c6c 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -29,3 +29,4 @@ permissions: - 'view les_projets config page entity' - 'view meetup config page entity' - 'view own profile' + - 'view partenaires config page entity' diff --git a/config/sync/user.role.editor.yml b/config/sync/user.role.editor.yml index 5c3c99f..14c4016 100644 --- a/config/sync/user.role.editor.yml +++ b/config/sync/user.role.editor.yml @@ -57,6 +57,7 @@ permissions: - 'edit own actualite content' - 'edit own offre content' - 'edit own projet content' + - 'edit partenaires config page entity' - 'edit terms in type_dactus' - 'execute entity:save_action menu_link_content' - 'execute entity:save_action node' diff --git a/config/sync/views.view.partenaires.yml b/config/sync/views.view.partenaires.yml index 59a4623..6f516fa 100644 --- a/config/sync/views.view.partenaires.yml +++ b/config/sync/views.view.partenaires.yml @@ -5,6 +5,8 @@ dependencies: config: - core.entity_view_mode.node.full - node.type.partenaire + content: + - 'config_pages:partenaires:8ec9ecf0-611e-4dfb-b1e4-11e5856c211a' module: - node - user @@ -145,7 +147,20 @@ display: replica: false query_tags: { } relationships: { } - header: { } + header: + entity_config_pages: + id: entity_config_pages + table: views + field: entity_config_pages + relationship: none + group_type: group + admin_label: '' + plugin_id: entity + empty: false + target: 8ec9ecf0-611e-4dfb-b1e4-11e5856c211a + view_mode: default + tokenize: true + bypass_access: false footer: { } display_extenders: { } cache_metadata: